what is the big O of this :
int m = n;
int t = 0;
while (m > 0) {
for (int i = 1; i <= m; i++){
for (int j = 1; j <= m; j ++) {
t++;
}
}
m /= 2;
}
I think of it as really being
m=n
t=0
for ( m = n; m>0; m /2)
for ( i = 1; i<=m; i++)
for ( j = 1; j<=m; j++)
{
t++
}
would the big o be n^2logn?