← All problemsSign in

Cards

Varun is the President of Society of Robotics, Delhi Technological University, and Surbhi is the Treasurer. One day Varun brings his younger brother with him to college. Varun had some work with Surbhi regarding the payments and sponsors for the technical fest, Excelsior. He went to her room to see her, but she was not there. There was a sequence of N cards lying on the table, each with a number w

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