Pergunta de entrevista da empresa rideOS

A problem based on graph algorithms (BFS, DFS).