Its pretty easy to find closest common ancestor in a BST if all the elements are distinct. But what if some of the values are same. Till now we were just comparing the data of nodes and that was it, but now do we need to check for nodes' address instead of just values?