title: Do "if" statements affect in the time complexity analysis?
body: <p>According to my analysis, the running time of this algorithm should be N<sup>2</sup>, because each of the loops goes once through all the elements. I am not sure whether the presence of the <code>if</code> statement changes the time complexity?</p>
  
  <pre><code>for(int i=0; i&lt;N; i++){
      for(int j=1; j&lt;N; j++){
  
          System.out.println("Yayyyy");
          if(i&lt;=j){
              System.out.println("Yayyy not");
          }
      }
  }
  </code></pre>