If an algorithm with an input size of n has a nested loop, and both loops make a complete pass over the input, then the performance of the algorithm will be

A) constant time
B) linear time
C) logarithmic time
D) quadratic time

D) quadratic time

Computer Science & Information Technology

You might also like to view...

Formulas allow you to select a number format

Indicate whether the statement is true or false

Computer Science & Information Technology

Sometimes referred to as the “infection vector”, the __________ is the means by which a virus spreads or propagates.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology