Your question is Booking System Design. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
Design a robust booking or appointment system for Doctolib.
Explain the end-to-end design, including appointment discovery, slot selection, ranking or personalization, booking confirmation, concurrency control, cancellations, and failure recovery. Treat machine learning as advisory: the system must remain correct and available if models, feature stores, or downstream services are unavailable.