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 728519d commit 5f668eaCopy full SHA for 5f668ea
1 file changed
lowest-common-ancestor-of-a-binary-search-tree/socow.py
@@ -32,4 +32,4 @@ def lowestCommonAncestor(
32
elif p.val > cur.val and q.val > cur.val:
33
cur = cur.right
34
else:
35
- return cur
+ return cur
0 commit comments