Back to QuestionsPractice with This Question
Find the Town Judge
62.7K views•Asked at Airbnb•
Easy
Question Explain
In a town of $N$ people, the Judge is someone who trusts nobody and is trusted by everybody else. Find the label of the Judge in $O(N)$ time.
Start Trying This Question Simulation
Practice answering orally or with text to get instant AI feedback.