LeetCode
Find the Town Judge
Click
here
for an explanation.