Tejas Networks interview question

A Very tricky state machine-FSM