akshitagit / CPP

Repository for C++/C codes and algos.
https://github.com/akshitagupta15june
MIT License
493 stars 434 forks source link

Celebrity Problem #671

Closed luvgameon closed 2 years ago

luvgameon commented 2 years ago

A celebrity is a person who is known to all but does not know anyone at a party. If you go to a party of N people, find if there is a celebrity in the party or not.