AlgoMaster Logo

Range Sum of BST

tree=[10, 5, 15, 3, 7, null, 18],low=7,high=15
0 / 38
algomaster.io
Step:Start: visit every node and sum the ones inside [7, 15]