logo

Crowdly

What is the Big O  time complexity of this algorithm? i = 0; while (i < n) ...

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

What is the Big O time complexity of this algorithm?

i = 0;

while (i < n) {

    if (i == 3) {

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

            System.out.println("Hello World!");

        }

    }

}

More questions like this

Want instant access to all verified answers on cyberlearn.hes-so.ch?

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