Question d’entretien chez Apple

Draw a state machine that accepts the sequence 101