Skip to content

Commit 4be041f

Browse files
authored
Fixed Formatting 0652-find-duplicate-subtrees.js
1 parent 36f49c5 commit 4be041f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/0652-find-duplicate-subtrees.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ var findDuplicateSubtrees = function(root) {
2020
const makePreOrderStr = (node, str) => {
2121
if(!node) return str + "-" + "null";
2222

23-
const str1 = makePreOrderStr(node.left, str + "-" +node.val);
23+
const str1 = makePreOrderStr(node.left, str + "-" + node.val);
2424
const str2 = makePreOrderStr(node.right, str1);
2525

2626
return str2;

0 commit comments

Comments
 (0)