title: Big-O complexity of algorithm
body: <p>Whats the total BigO complexity of an algorithm like the one below:</p>
  
  <pre><code>function void a(int n, int p) {
      for(i = 0; id &lt; n; i++){
          print(i)
          for(j=0; j &lt; p; j++){
              print(i+j)
          }
      }
  }
  </code></pre>