207 views

Please log in or register to answer this question.

Related questions

0 votes
0 votes
0 answers
2
usdid asked Jul 2, 2022
500 views
what is the running time of the following iterative algorithm?b) It is possible to talk about the best, average and worst running times for this algorithm. Why? pseudo co...
2 votes
2 votes
2 answers
4
Amar Vashishth asked Aug 2, 2015
2,432 views
int fun(int n) { int count=0; for (int i= n; i 0; i/=2) for(int j=0; j< i; j++) count+= 1; return count; }