title: Int Overflow w/ Factorial
body: <p>Given:</p>
  
  <pre><code>def factorial(n: Int): Int = {
      if(n &lt;= 0) 1
      else       n * factorial(n - 1)
  }
  </code></pre>
  
  <p>Also, since I chose an <code>Int</code>, the following, I believe, overflow behavior is possible:</p>
  
  <pre><code>scala&gt; factorial(35)
  res3: Int = 0
  </code></pre>
  
  <p>What's a simple example of <code>int</code> multiplication leading to an overflow equal to <code>0</code>? </p>