You are viewing a single comment's thread. Return to all comments →
How can v1 be the ancestor of itself? I am still confused.
Or, are you referring to the correct answer that the question will accept?
Binary Search Tree : Lowest Common Ancestor
You are viewing a single comment's thread. Return to all comments →
How can v1 be the ancestor of itself? I am still confused.
Or, are you referring to the correct answer that the question will accept?