Skip to content

Commit 664262d

Browse files
committed
Runtime: 138 ms (Top 42.81%) | Memory: 14.7 MB (Top 52.51%)
1 parent 3fea208 commit 664262d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/algorithms/R/Recover a Tree From Preorder Traversal/Recover a Tree From Preorder Traversal.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# Runtime: 178 ms (Top 20.74%) | Memory: 14.8 MB (Top 52.51%)
2-
1+
// Runtime: 138 ms (Top 42.81%) | Memory: 14.7 MB (Top 52.51%)
32
class Solution:
43
def recoverFromPreorder(self, traversal: str) -> Optional[TreeNode]:
54
i = 0

0 commit comments

Comments
 (0)