Amazon Interview Question

DFS/BFS problem for cities/airport connections