Hello
Can you please let me know how to find the growth function and order of following loop?
for(int i=0; i<n; i*=2){
/* O(1) steps
}
Thanks!
Can you please let me know how to find the growth function and order of following loop?
for(int i=0; i<n; i*=2){
/* O(1) steps
}
Thanks!
Comment