logo

Crowdly

Browser

Add to Chrome

Визначити складність алгоритму  void f3(int n){ for (int i=0; i<n; i++){ ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Визначити складність алгоритму 

void f3(int n){

for (int i=0; i<n; i++){

if (i%2)

for (int j=0; j<n; j++)

func1(); //  виклик функції θ(1);

else

for (int j=0; j<n; j++)

func2(); //  виклик функції θ(1);

}

}

0%
0%
0%
0%
0%
More questions like this

Want instant access to all verified answers on dl.nure.ua?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome