Frage im Vorstellungsgespräch bei ServiceNow

Algorithm using dynamic programming. Find the optimal solution to complete a maze.