Domanda di colloquio di Amazon

Find shortest path between two points in a direct graph