Texas Instruments interview question

Write fsm to detect sequence 1011