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 aef8155 commit bcbbbc9Copy full SHA for bcbbbc9
C++/find-mode-in-binary-search-tree.cpp
@@ -1,5 +1,5 @@
1
// Time: O(n)
2
-// Space: O(1)
+// Space: O(h)
3
4
/**
5
* Definition for a binary tree node.
0 commit comments