Solved

What Is the Typical Running Time of a Double Loop

Question 22

Multiple Choice

What is the typical running time of a double loop with a counting variable going from 0 to n − 1 for both the outer loop and the inner loop?


A) O( n )
B) O( 2n )
C) O( 1 )
D) O( n2 )

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions