← All problemsSign in

Phoenix and Salsa Dancers

Phoenix has always been partying every weekend until March. Now due to this COVID-19 pandemic his weekends parties are spoiled. Phoenix is a great salsa dancer, he used to judge dance competitions in every weekend party. The judging criteria of Phoenix was very weird. Assume there are N dancers in a group and all dancers had their UNIQUE_ID. Now from each group, one by one N dancers come on the ra

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