I have a question if I have my $k=300$ and my loop is like this :
for( int x = 0 ; x<n ; x--){
for(int y=0 ; y<k; y++){
...
}
}
Is this still $O(n^2)$? If no, why? Thank you :)
|
I have a question if I have my $k=300$ and my loop is like this :
Is this still $O(n^2)$? If no, why? Thank you :) |
|||||||
|
|
Assuming that you meant |
|||||||||
|