celebrity problem 2 gfg 7 18 21

Solutions on MaxInterview for celebrity problem 2 gfg 7 18 21 by the best coders in the world

showing results for - "celebrity problem 2 gfg 7 18 21"
Lucas
25 Jun 2020
1Input:
2N = 2
3M[][] = {{0 1},
4         {1 0}}
5Output: -1
6Explanation: The two people at the party both
7know each other. None of them is a celebrity.
similar questions
queries leading to this page
celebrity problem 2 gfg 7 18 21