You are viewing a single comment's thread. Return to all comments →
Ingenious and simple! Because it's a binary search tree, the left side is always be lower than the right side!
Seems like cookies are disabled on this browser, please enable them to open this website
Binary Search Tree : Lowest Common Ancestor
You are viewing a single comment's thread. Return to all comments →
Ingenious and simple! Because it's a binary search tree, the left side is always be lower than the right side!