← All problemsSign in

Fresher Party

First yearites are repeatedly asking for fresher’s party to second yearites. But being responsible enough second yearites know that it is not a safe time for parties and they want to avoid overcrowding. So as of now they decided to give every junior a packet of toffees and promised them a party in near future and to which juniors agreed upon. So Utkarsh and Jaskaran(both second yearites) went

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