Tejas Networks Interview Question

A Very tricky state machine-FSM