If an algorithm makes two separate, unnested passes over an input of size n, the performance of the algorithm will be in the class

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

B) O(n)

Computer Science & Information Technology

You might also like to view...

Why is MERGE statement useful?

What will be an ideal response?

Computer Science & Information Technology

The use of a Request for Proposal is not required for an organization to purchase products, but allows for a competitive bidding process between suppliers.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology