NVIDIA interview question

FSM for a decoder while the fsm for encoder was given.