Intel Corporation interview question

Write a sequence detector FSM in verilog