Optimal Algorithm To Solve This Maze Stack Overflow

Optimal Algorithm To Solve This Maze Stack Overflow