I am trying to understand whether the the big-o notation changes if the inner loop does not start at 0, but rather 1, 2, 3 or more.
E.g. does it change anything that this inner for loop starts at 3 or is the big-o still n squared?
for(int i = 0; i < n; i++)
for(int j = 3; j < n; j++)
And while I am at it, I might as well ask whether it would make a difference if the i or the j were incremented by 3 in each iteration. Thanks for your help!