You are viewing a single comment's thread. Return to all comments →
This will not pass the case where v1 is an ancestor of v2.
Binary Search Tree : Lowest Common Ancestor
You are viewing a single comment's thread. Return to all comments →
This will not pass the case where v1 is an ancestor of v2.