Epic interview question

1 Graph grid world problem.