Doctolib Interview Question

Coding challenge which was quite straight forward.