← All problemsSign in

John And Zatanna

As John Constantine sat in the bar smoking his last cigarette , thinking about a way to impress the girl, Zatanna Zatara sitting across. Suddenly an idea pops into his head and he thinks of a coded pick-up line which has the number containing digits 1 or 2 only. So, only numbers like 112, 12222 form a good pick up line and not 11348222. He wants to say the pickup line in form of number of occurre

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