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 510ec03 commit 5bf69ebCopy full SHA for 5bf69eb
C++/lowest-common-ancestor-of-a-binary-search-tree.cpp
@@ -1,4 +1,4 @@
1
-// Time: O(n)
+// Time: O(h)
2
// Space: O(1)
3
4
/**
0 commit comments