Cat Daddy Games interview question

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