Can You Exit The Maze
CodeChefOpen on judge ↗
You are given a maze which can be represented as 2D matrix, where source block is upper left most block i.e, maze[0][0] and destination block is lower right most block i.e, maze[N-1][N-1]. “0s” are walkable areas and “1s” represent walls. Size of maze is 6*6. Create a function that prints “Yes” if you can walk from one end of the maze to the other. Else prints “No”. --------------------------
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start