Meta interview question

find range sum in BST.