题目链接:https://leetcode.com/problems/find-the-celebrity/
Suppose you are at a party with n
people (labeled from 0
to n - 1
) and among them, there may exist one celebrity. The definition of a celebrity is that all the other
题目链接:https://leetcode.com/problems/find-the-celebrity/
Suppose you are at a party with n
people (labeled from 0
to n - 1
) and among them, there may exist one celebrity. The definition of a celebrity is that all the other