Intuit Interview Question

Using DFS to solve a maze question.