int A(int n){
for(i = 1; i < n; i++)
for(j = 1; j < i; j *= 2)
for(k = j; k >= 1; k /= 2)
if(n = 0) return 1;
else{
for(z = 0; z < n; z++){
// do something
}
}
}
How do find the complexity of this problem?
The answer is supposed to be O(n log log n), but it maybe wrong.