Playlist
CodeChefOpen on judge ↗
Your endsem exams are going on and you are aiming for an all nighter. However, the weather outside is amazing and you wish to listen to music for some time. You ask your friend for a playlist. He curates a playlist for you, but, listening to the entire playlist will take up whole night and you will fail the exam. You decided to choose a subset of the songs and create your own playlist. Your fa
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.
Sign in to chat with the tutor and save your progress.
Sign in to start