← All problemsSign in

Numbers Wanted

“Lately, I've been thinking, I want you to be happier, I want you to be happier.”- Marshmello Gauri and her friend Aayushi are free around this time of year and have come out for a picnic. When they reach their picnic spot, they bump into an old friend, Daksh. The three of them chat around for a bit, when an idea hits Daksh. He wants to have fun by giving them a problem to solve which in turn wou

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