Hi, I have a question here the loop is:
for (i=0; i < n; ++i)
for (j = 3; j < n; ++j)
{
...
}
I kind of understand how to calculate the big-oh but I am not entirely sure on how to do it. The outer loop executes n times and the inner loop executes i times for each value of i. The complexity is supposed to be N^2 (I think). Can you guys elaborate on how this is calculated? I understand some of it but not all of it.