logo

Crowdly

Browser

Add to Chrome

Quelle est la complexité algorithmique en temps de la fonction suivante ? What...

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

Quelle est la complexité algorithmique en temps de la fonction suivante ?

What is the algorithmic time complexity of the following function?

public void fonction(int[] notes) {

int moyenne = 0;

int n = notes.length;

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

moyenne += notes[i];

}

moyenne /= n;

System.out.println(moyenne);

}

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

Want instant access to all verified answers on moodle-ovh.isep.fr?

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

Browser

Add to Chrome