Recently started with this so need your help, Lets say you have nested for loops as shown below, both ranging from 1 to n, how does one calculate the running time for the same in terms of Big O, Theta, Omega?
for(i=1; i<n; i++) {
for(j=1; j<n; j++) {
//some piece of code
}
}