Skip to content

Commit 5066840

Browse files
authored
Update backtracking.md
1 parent e00aa08 commit 5066840

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

notes/backtracking.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ The backtracking occurs when a node has no valid branches (no safe positions in
438438
- Using heuristics to choose the order of columns to try first.
439439
- Converting the recursive solution to an iterative one using explicit stacks to handle larger values of $N$ without stack overflow.
440440

441-
### Example: Solve Maze
441+
### Example: Maze Solver
442442

443443
Given a maze represented as a 2D grid, find a path from the starting point to the goal using backtracking. The maze consists of open paths and walls, and movement is allowed in four directions: up, down, left, and right (no diagonal moves). The goal is to determine a sequence of moves that leads from the start to the goal without crossing any walls.
444444

0 commit comments

Comments
 (0)