Brocade interview question

Q: FSM for detecting a particular sequence.