title: What will be the DFA for the regular expression 0(0+1)*0+1(0+1)*1?
body: <p>This is the DFA i have drawn-</p>
  
  <p><img src="https://i.stack.imgur.com/vwpyA.jpg" alt="MyDFA"></p>
  
  <p>Is it correct?<br>
  I am confused because <code>q4</code> state has <code>2</code> different transitions for same input symbol which violates the rule of <code>DFA</code>, but I can't think of any other solution.</p>