Solved

What Is the Typical Running Time of a Double Loop

Question 30

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents