← All problemsSign in

Nilakshi The Rockstar

Problem description. Linkin Park had a problem in their music system which generated 2 rhythms of only 1s and 0s. But multiplying those 2 rhythms wasn’t that melodious! So they challenged people to make this rhythm more melodious and the person who does this will become the lead Rockstar for their band. Nilakshi dreams to be a Rockstar one day. So, she decides to solve this. She figures out that

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