Binary Search Tree : Lowest Common Ancestor

  • + 0 comments

    never had experience with tree, so maybe a stupid question: how do you get "The value of a common ancestor has to always be between the two values in question."? at least the first picture shows that "3" is the common ancestor of "4" and "5".