Intel Corporation Interview Question

Draw a circuit/ state flow diagram to detect a bit sequence.