← All problemsSign in

Ashwin and Kumble

Ravichandran Ashwin, the ace spinner of the Indian Cricket Team was looking for a way to enhance his bowling skills before the start of the World T20 tournament. He decided to consult Indian Cricketing Legend Anil Kumble, but little did he know that apart from cricket Kumble was also an algorithm expert and decided that he will only entertain Ashwin's request if he or his friends could solve a sim

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