is it not finding the articulation point in a graph ? => this has a linear time solution.
if the edge exist TRUE otherwise FALSE, n x n adjacency matrix with 1/0 (TRUE/FALSE) Thanks, Sathaiah On Wed, Sep 22, 2010 at 9:37 PM, Divesh Dixit < dixit.coolfrog.div...@gmail.com> wrote: > Among n people, a celebrity is defined as someone who is known to > everyone, but who knows no > one. Design and analyze to identify the celebrity, if one exists, by > asking only questions of the > following form: "Excuse me, do you know person x?" You will get a > binary answer for each such > question asked. Find the celebrity by asking only O(n) questions. > > -- > 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<algogeeks%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > > -- 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.