Design a sequential circuit DETECTOR that has one input X and one input Y. The DETECTOR detects the sequence 110. If an input X is a "1", followed by another "1" followed by a "0" then the output Y is set to "1", otherwise Y is set to "0".(a) Design this circuit using D-type Flip-Flops
(b) Repeat your design and this time use J-K-Flip Flops