Pergunta de entrevista da empresa Eleviant Tech

Backtracking problem (mice to reach the cheese)