<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <link rel="stylesheet" type="text/css" href="../stylesheets/default.css">
  <link rel="stylesheet" type="text/css" href="../stylesheets/blog.css">
  <link rel="stylesheet" type="text/css" href="../stylesheets/font-awesome/css/font-awesome.min.css">
  <title>Recursion</title>

</head>
<body id="bodyblog">
  <nav>
    <ul class="bcenter">
      <li class="li"><a href="../index.html">Home</a></li>
      <li class="li"><a href="../about.html">About Me</a></li>
      <li class="li"><a href="../projects/index.html">Projects</a></li>
      <li class="li"><a href="index.html">Blog</a></li>
      <li class="li"><a href="../contact.html">Contact</a></li>
    </ul>
  </nav>

  <main>
    <h1 class="bcenter">Week 8</h1>
    <article>
      <h2 class="bcenter">1.7:Recursion</h2>
      <a href="https://www.facebook.com/shelal"><i class="fa fa-facebook-square fa-2x"></i></a>
      <a  href="https://twitter.com/SabrisJourney"><i class="fa fa-twitter-square fa-2x"></i></a>
      <a  href="mailto:sabri.helal@gmail.com"><i class="fa fa-envelope-square fa-2x"></i></a>
      <hr>
      <p> This week we'll be looking at recursion in programming.So what is recursion? When you have a complex
        and large problem to resolve, recursion involves breaking down that large problem into smaller instances of the same problem and then resolving the smaller problem( which then helps solve the larger problem).Akin to russian dolls, you initially start off with the large russian doll, but then inside is a smaller russian doll(and so on)
        until it's small enough that there are no more russian dolls. In programming, recursion involves a function that calls itself. The factorial function is a perfect example to illustrate recursion. We know that n! is equal to
        <code class="code">n *(n-1)! so 4! = 4*3*2*1 or 4!= 4 * 3!</code> Here, we would compute n! by
        solving for (n-1)! which represents  a smaller instance of the problem (n!) and then compute n! There's a lot more to this topic and I invite you to do a little bit of research as its not only interesting but covers a number of ways recursion applies. Have a good week!</p>
      

      <!-- copy and paste as many sections as you want to add paragraphs -->
    </article>
  </main>
  <footer>
    <p>Saturday January 9th, 2016</p>
  </footer>
</body>
</html>
Add blog post on recursion week 8
Add blog post on recursion week 8
