Meta interview question

Leetcode 938. Range Sum of BST