Activity 01
Problem Solving: Maze Backtracking Challenge
Print 4x4 grid mazes on paper. Student pairs trace all possible paths from start to exit using a systematic backtracking strategy: mark a cell, move forward, backtrack when stuck, never revisit. After solving manually, groups compare their path-finding process and abstract it into pseudocode.
Design a recursive solution that incorporates backtracking to explore all possible paths.
Facilitation TipDuring the Maze Backtracking Challenge, give students a dry-erase grid to encourage trial, error, and immediate revision without fear of erasing mistakes.
What to look forPresent students with a small, incomplete maze. Ask them to trace a backtracking path on paper, clearly marking dead ends and the final solution. Then, ask them to identify one point where a naive recursive approach would re-explore a path.