Skip to content

Commit b64b401

Browse files
Updated rat_in_maze.py
2 parents e7686d2 + 8ff2d65 commit b64b401

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: backtracking/rat_in_maze.py

+5
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,13 @@ def solve_maze(
2020
Return: True if the maze has a solution or False if it does not.
2121
Description:
2222
This method navigates through a maze represented as an n by n matrix,
23+
<<<<<<< HEAD
2324
starting from a specified source cell and
2425
aiming to reach a destination cell.
26+
=======
27+
starting from a specified source cell (default: top-left corner) and
28+
aiming to reach a destination cell (default: bottom-right corner).
29+
>>>>>>> origin/new_branch
2530
The maze consists of walls (1s) and open paths (0s).
2631
By providing custom row and column values, the source and destination
2732
cells can be adjusted.

0 commit comments

Comments
 (0)