Amazon Interview Question

Simple bfs to find shortest route on a map