Pregunta de entrevista de Cat Daddy Games

Given a set maze, write an algorithm for finding the exit as quickly as possible.