title: Brainstorm: To compute x/y in log(n) time,
body: <p>How will you compute x/y in O(log(n)) time.</p>
  
  <p>n=x/y, x &amp; y are integers</p>
  
  <p>You can't use the / operator.</p>
  
  <p>One implementation is to add y q times till the result is less than x i.e.</p>
  
  <pre><code>y * q &lt; x
  </code></pre>