📚 Backtracking in Maze
Explore the maze using depth-first search with backtracking:
- Try moving in any direction (up, down, left, right)
- Mark visited cells to avoid loops
- If stuck (no valid moves), backtrack to previous cell
- Continue until goal is reached or all paths exhausted