Skip to content

Find the Town Judge

An Easy coding interview problem in the Graphs pattern.

Likely pattern

Graphs

BFS, DFS, union find and topological order over nodes and edges.

Recognition cue: Grids of cells, connectivity, islands, dependencies or prerequisites.

Do not confuse it with

Topics

  • Array
  • Hash Table
  • Graph
  1. 1Easy
  2. 2Easy
  3. 3Medium
  4. 4Medium
  5. 5Medium
  6. 6Medium
  7. 7Medium
  8. 8Medium