For a given binary tree, given the root and two node pointers, how can we find their youngest common ancestor.
Say the node is like: struct node{ int data; struct node*left, *right; }; i.e the father field is not there. Please note that it is not a binary search tree, but just a binary tree. Thanks, Himanshu -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.