AlgoMaster Logo

Trim a Binary Search Tree

tree=[1, 0, 2, -1],low=1,high=2
0 / 19
algomaster.io
Step:Start: trim the BST to [1, 2]