Problem 997 · Easy

Find the Town Judge

Find the single person whom everyone else trusts while that person trusts nobody. The visual draws a directed graph and tracks in-degree and out-degree counts for each person.

Open the interactive visualisation