We wish to design a sequence detector circuit, which detects three or more consecutive $1’s$ in a string of bits coming through an input line.
If we implement a sequential circuit with $\text{J-K}$ flip flops then the minimum number of flip flops required is _______