DIY: Range Sum of BST
Solve the interview question "Range Sum of BST" in this lesson.
We'll cover the following...
Problem statement
For this challenge, you are given the root
node of a binary search tree and two values: low
and high
. Your task is to return the sum of the values of all nodes in BST that are value between ...