Looking for good programming challenges?

Use the search below to find our solutions for selected questions!

All posts tagged interview

The Celebrity problem

Problem statement In a party of people, only one person is known to everyone (celebrity). That celebrity doesn’t know anyone in the party. Find the celebrity if such a person exist. Input Format The first line of the input will contain ( the number of people) and . Each of . . . Read more