NVIDIA interview question

Sequence FSM detector, with overlapping sequences