You are viewing a single comment's thread. Return to all comments →
If v1 is the ancestor of v2, then should the LCA = parent of v1 instead of v1?
Binary Search Tree : Lowest Common Ancestor
You are viewing a single comment's thread. Return to all comments →
If v1 is the ancestor of v2, then should the LCA = parent of v1 instead of v1?