We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 832d985 commit d90573dCopy full SHA for d90573d
tree/Yu/100_isSameTree.py
@@ -7,7 +7,7 @@
7
# Descrption:
8
# Given two binary trees, write a function to check if they are equal or not.
9
# ****************
10
-# Time Complexity O(N) | Space O(N)
+# Time Complexity O(N) | Space O(1)
11
12
13
# Recursive思路:
0 commit comments