Question d’entretien chez CureMD

the asked to solve a coding