Pregunta de entrevista de Riot Games

Conflicting situation at work, Maze algorithm