When building an appointment scheduling system, one of the problems that looks simple at first is: «“Find the available time slots for a doctor. ”» But the problem becomes much more interesting when different services have different durations. For example: Consultation → 15 minutes Therapy → 45 ...

Source: [Dev.to](https://dev.to/hiajayy/how-i-approach-appointment-slot-optimization-in-laravel-when-services-have-different-durations-5f27)

Sponsored