* @param {TreeNode} root * @param {number} low * @param {number} high * @return {number}
| 14 | */ |
| 15 | |
| 16 | class SumInfo { |
| 17 | constructor() { |
| 18 | this.sum = 0; |
| 19 | } |
| 20 | } |
| 21 | var rangeSumBST = function (root, low, high) { |
| 22 | const sum = new SumInfo(); |
| 23 | getSumHelper(root, low, high, sum); |
nothing calls this directly
no outgoing calls
no test coverage detected