Sollicitatievraag bij ServiceNow

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