I found this problem in one of the interview form, that it is interesting to discuss
Problem : There are two nodes given in a tree(not binary tree). Find whether one node is parent/grand parent of other. order should be O(1). You are allowed to do any amount of preprocessing .... -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
