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