02.22 · Problem
Who Came Back to the Counter First
This problem is part of solulu Pro
A help desk logs the ID of every student who walks up to the counter, in order. Some students come back a second time. The desk wants the ID of the student whose second visit happened earliest.
Lifetime ₹1,999 ₹999 · Launch offer
Item 52 of 90 · updated 2026-10-12