← All problemsSign in

Wayout

Problem description. Given a grid, and each cell of grid have some positive integer written on it,Now you have to traverse the grid from starting position to the target position in such a manner , firstly you have to traverse the grid from (1,1) to the last row and den you have to traverse the grid from that cell present in the last row to the target position ( 1 , M ) . Assume , when you are go

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start