logo

Crowdly

Consider the following algorithm: def algorithm_C (m, n) : i = 1 ...

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

Consider the following algorithm:

def algorithm_C(m, n):

i =

1

j =

1

while

(j <= n):

if

i <= m:

i = i +

1

else

:

j = j +

1

What is the time complexity of this algorithm?

More questions like this

Want instant access to all verified answers on moodle.esme.fr?

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