u need to find out the subset of connections associated with ur profile and that person's profile. using hashtable the problem will be solved..
On Sat, Sep 18, 2010 at 2:44 AM, bittu <[email protected]> wrote: > > > if you click on any orkut member's name you will notice the > relationship graph for both of you indicating through whom you are > interconnected or in certain cases you won't get this path. > > if you have to propose algorithm what would be the one ... > breadth first or depth first traversal with some modifications will > help but wouldn't be most optimum way .. > something like A* algo with some variations might be good options, but > any further hints .. > > Regard's > Shashank Mani Narayan > Computer Science & Engineering > Birla Institute of Technology,Mesra > Cell No. +91-9166674831 > > > -- > 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]<algogeeks%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > > -- Thanks & Regards, Saurabh -- 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.
