Meta interview question

range sum of binary search tree