Among n people, a celebrity is known by everyone and knows no one. Find them with as few calls to knows(a, b) as possible.
Among n people, a celebrity is known by everyone and knows no one. Find them with as few calls to knows(a, b) as possible.
Opens with the full question.