Question d’entretien chez Amazon

Ask to write code to find shortest path from a forest(2D Array Graph)