Question d’entretien chez Microsoft

Solve a state machine problem