Binary Search Tree : Lowest Common Ancestor

  • + 3 comments

    No, if v1 is an ancestor of v2, v1 will be the lca. (this confused me for quite some time and I hope they change the challenge description to account for this.)