← All problemsSign in

ATM queue

Ramu and his wife Lata are facing a cash crisis. They go to the nearby ATM to get some cash. There are **3** ATMs inside the same room. People are standing in queue outside, and go inside the room in groups of 3 to the ATMs, fetch their money and come out. Lata has an irrational fear in getting money from ATM that her ATM pin will somehow be stolen and all her money will be lost. So, she will alwa

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