✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
int find_c(int n) int i,j,c
for(i=n*n*n; i > 0; i=i/2)
for(j=n; j > 0; j--)
c++
for(i=2*n*n*n; i > n*n; i--)
c++
return c
Mis on antud algoritmi halvima juhu keerukus O-notatsioonis sõltuvalt sisendparameetrist n: