1.

What is the time complexity of the following iterative implementation used to find the largest and smallest element in an array?

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


Discussion

No Comment Found