check this out http://www.careercup.com/question?id=14182739 .
On Friday, 6 July 2012 10:27:32 UTC+5:30, enchantress wrote: > > Given a list of people and music bands they like, two people are > compatible if they have at least 2 bands in common. The compatibility of > two people is directly proportional to the number of bands they like in > common. > > Find the two most compatible people that is having maximum number of bands > in common. > > Number of people and bands can be as large as 10k. > > > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To view this discussion on the web visit https://groups.google.com/d/msg/algogeeks/-/-HIhNBBZcx8J. To post to this group, send email to algogeeks@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.