Pregunta de entrevista de ServiceNow

Rat and maze problem based on dynamic programming