Find the Town Judge

There are n people numbered from 1 to n. A pair [a, b] in trust means person a trusts person b. The town judge trusts nobody and is trusted by every other person. Return the judge's label, or -1 when no person satisfies both rules.

Examples
Input: [2,[[1,2]]]
Output: 2
Hints

Find the Town Judge

There are `n` people numbered from `1` to `n`. A pair `[a, b]` in `trust` means person `a` trusts person `b`. The town judge trusts nobody and is trusted by every other person. Return the judge's label, or `-1` when no person satisfies both rules.