← All problemsSign in

Sacred Codes

Sartaaj discovers some codes from Guruji’s ashram which could be used to defuse the bomb. The codes consist of a string made up of brackets **{ } ] [ ( )** arranged together in some pattern. Since there are a lot of codes, Sartaaj isn't sure which of them are correct. Batya refuses to tell him anything except this, “The correct ones are balanced, unlike this world”. Sartaaj has no time to

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