Min/Max readings in last 24 hours
Filed under Abco Advisory Board Company
The question
A thermometer records readings every 5 seconds. Suggest a data structure to maintain the minimum and maximum readings recorded in the last 24 hours.
No write-up yet. Related questions below have one.
Collected from public candidate posts and coding forums. Updated Nov 2026.