Amazon Interview Question: Shortest path problem, which ... | Glassdoor