Object-Oriented Programming · Oracle · Medium
Requirements The system covers 1,000 doctors. Every doctor is available from 9:00 AM through 5:00 PM, divided into 15-minute visits, for 32 daily slots per doctor. Provide an API that reserves the earliest unoccupied slot for a specified doctor and date. Respond with the reserved slot's start and end times; if that doctor has no remaining slots on that date, return an error. Reservations must persist between API requests: because this is POST-style behavior, a slot claimed…
Checking your access…