← All problemsSign in

Train and the Minions

All the minions are travelling to New York in a train. Kevin is the leader of all the minions. Now since the number of minions is way too large in that train, Kevin needs to manage all of them at once. He wants to make sure that all of the Minions are present in the train. For the same, he found out a way of taking attendance. What he does is, he asks each of the minion to tell the seat type and s

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