Pregunta de entrevista de Advantest

Various state machine problems.