Question: Implement the state diagrams from given Problem using JK flip-flops.
Problem: Construct state diagram for sequence detectors that can detect the following sequences:
a. 10010 (sequences may overlap)
b. 10010 (overlap not allowed)
c. 1011 or 1001 (overlap allowed)
d. 1011 or 1001 (overlap not allowed)