← All problemsSign in

Decode Treasure Box

Suppose in a treasure hunt contest, you are in the finale. The task is having a spiral maze and a treasure box that is situated at the end of the maze (A 2D matrix). To win the finale you have to get the flag inside the treasure box by decoding the password of its digital lock. Now, when you travel through the path, you’ll get numbers ( 0 to 9) , which eventually after combining will result in you

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