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].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to