← All problemsSign in

No Strings Attached

It is a well-known fact that Abhik and Sahitya gossip a lot! In fact, they gossip so much that they hardly remember about whom they gossip. Knowing this Godi proposes a game so that indirectly he can extract out as much information as possible from them. The game he proposes is as follows: He asks Abhik and Sahitya to each give an integer ni and a string si of length ni. si is the person each wis

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