Skip to content

Commit 6388615

Browse files
committed
review: construct binary tree from preorder and inorder traversal
1 parent 835af9b commit 6388615

File tree

1 file changed

+1
-1
lines changed
  • construct-binary-tree-from-preorder-and-inorder-traversal

1 file changed

+1
-1
lines changed

construct-binary-tree-from-preorder-and-inorder-traversal/wogha95.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// TC: O(N^2)
2-
// SC: O(N)
2+
// SC: O(N^2)
33

44
/**
55
* Definition for a binary tree node.

0 commit comments

Comments
 (0)