← All problemsSign in

Wingardium Leviosa

Ron: Wingardium LeviosAA! Hermione: Stop! Stop! Stop! You're going to take someone's eye out! Besides, you're saying it wrong. It's LeviOsa, not LevioSA Hermoine is teaching 'Wingardium Leviosa' spell to Ron. Wingardium Leviosa is a spell to levitate objects and make them fly to will. So, Hermoine gives a task to Ron, she takes N candies and puts them in a line. Candies can be of different colou

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