Domanda di colloquio di TikTok

Find the shortest path between two points