1.

What is the time complexity of the following code used to search an element in an array?

A. O(1)
B. O(n)
C. O(n2)
D. O(n3)View Answer
Answer» C. O(n2)


Discussion

No Comment Found