title: running time of for loop that executes only once
body: <p>Given-</p>
  
  <pre><code>m=1,k=1
  for(i=1,.....,k){
    for(j=1,....,i){
       m=m+1;
  }
  }
  </code></pre>
  
  <p>Well, this is going to execute no more than 1 time. I guess the running time is theta(1). am I wrong?? </p>