Skip to content

Commit 696cd69

Browse files
authored
Added Spacing
1 parent 0525365 commit 696cd69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

javascript/0938-range-sum-of-bst.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ var rangeSumBST = function(root, low, high) {
2121
let total = 0;
2222

2323
const dfs = (node) => {
24-
if(!node) return;
25-
if(node.val >= low && node.val <= high) total += node.val;
24+
if (!node) return;
25+
if (node.val >= low && node.val <= high) total += node.val;
2626
dfs(node.left);
2727
dfs(node.right);
2828
}

0 commit comments

Comments
 (0)