← All problemsSign in

Coldplay Concert

Problem Statement : Krushi and Mansi turn up to be the volunteers for the Coldplay concert. Chris Martin loved the crowd and hence provided Krushi and Mansi infinite number of Tshirts to giveaway to his fans. Both of them jump into the crowd. Chris Martin points to N number of fans one by one, first to Krushi then to Mansi. Assume infinite fans arranged in a 2D infinte grid, with each fan standi

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