Tag: LeetCode: 776 Split BST
-
LeetCode: 776 Split BST
•
LeetCode 776: Split BST https://leetcode.com/problems/split-bst/description/ Problem Description Given a Binary Search Tree (BST) and a value V, split the tree into two subtrees. One subtree should contain all nodes with values less than or equal to V, and the other subtree should contain all nodes with values greater than V.…