← All problemsSign in

Arjun quest to Vijay Dhanush

Arjun, the greatest archer, third of the great Pandavas, is on a quest to find the greatest bow Vijay Dhanush to defeat Kauravas. In order to acquire the weapon, he has to face some hurdles. Arjun has entered the grid of size $10^{9} * 10^{9}$. The weapon is acquired on entering the row $10^{9}$. Arjun is currently on the cell $(1,1)$. There are some magical walls protecting the weapon. These wal

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