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 23142a7 commit 0cb14caCopy full SHA for 0cb14ca
1 file changed
validate-binary-search-tree/yuseok89.py
@@ -1,5 +1,5 @@
1
# TC: O(N)
2
-# SC: O(1)
+# SC: O(H)
3
# Definition for a binary tree node.
4
# class TreeNode:
5
# def __init__(self, val=0, left=None, right=None):
0 commit comments