[LeetCode] 277. 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 tha
posted @ 2016-03-23 13:00  Grandyang  阅读(21684)  评论(4)    收藏  举报
Fork me on GitHub