DSA Key Problems

Find the Town Judge

Given n people and directed trust relationships, return the person who trusts nobody and is trusted by every other person, or -1 if no such person exists.