← All problemsSign in

Safe Game

Sine due to COVID 19, India has underwent a complete 21 days lockdown. So play a game in your home. Suppose there is ” m x n” grid in your home. You are located at the top-left corner of a m x n grid (Since, that is a starting points). You can only move either down or right at any point in time. So, your are trying to reach the bottom-right corner of the grid (that is last index). So, Your wor

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