Skip to content

Commit 8369e9b

Browse files
authored
Delete extra space
1 parent 15f114a commit 8369e9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/0606-construct-string-from-binary-tree.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const dfs = (node, strArr) => {
2222

2323
strArr.push(node.val);
2424

25-
if (node.right || node.left) strArr.push("(");
25+
if (node.right || node.left) strArr.push("(");
2626
dfs(node.left, strArr);
2727
if (node.right || node.left) strArr.push(")");
2828

0 commit comments

Comments
 (0)