title: Left-Linear and Right-Linear Grammars
body: <p>I need help with constructing a left-linear and right-linear grammar for the languages below?</p>
  
  <pre><code>a)  (0+1)*00(0+1)*
  b)  0*(1(0+1))*
  c)  (((01+10)*11)*00)*
  </code></pre>
  
  <p>For a) I have the following:</p>
  
  <pre><code>Left-linear
  S --&gt; B00 | S11
  B --&gt; B0|B1|011
  
  Right-linear
  S --&gt; 00B | 11S
  B --&gt; 0B|1B|0|1
  </code></pre>
  
  <p>Is this correct? I need help with b &amp; c.</p>