3 ms·The problem sounds like they wanted you to implement a state machine, and to draw a state diagram before that.by ju-st 7y agoThe problem sounds like they wanted you to implement a state machine, and to draw a state diagram before that.