Back to Questions

Find the Town Judge

62.7K viewsAsked 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.

Practice with This Question
Find the Town Judge - Interview Question