Design a sequence detector to detect 0110 or 0011
This is a overlapping sequence-detector for the required sequences,i used this website to draw the FSM.


This is the code i have written to draw it 

#states
START
SEEN_0
SEEN_00
SEEN_01
SEEN_0x1
SEEN_0011
SEEN_0110
#initial
START
#accepting
START
SEEN_0
SEEN_00
SEEN_01
SEEN_0x1
SEEN_0011
SEEN_0110
#alphabet
input_0
input_1
#transitions
START:input_0&gt;SEEN_0
START:input_1&gt;START
SEEN_00:input_0&gt;SEEN_00
SEEN_00:input_1&gt;SEEN_0x1
SEEN_01:input_0&gt;SEEN_0
SEEN_01:input_1&gt;SEEN_0x1
SEEN_0x1:input_0&gt;SEEN_0110
SEEN_0x1:input_1&gt;SEEN_0011
SEEN_0110:input_0&gt;SEEN_0
SEEN_0110:input_1&gt;SEEN_01
SEEN_0011:input_0&gt;SEEN_0
SEEN_0011:input_1&gt;START
SEEN_0:input_0&gt;SEEN_00
SEEN_0:input_1&gt;SEEN_01