

MCQOPTIONS
Saved Bookmarks
1. |
What is the time complexity of the above iterative implementation used to find the largest and smallest element in an array? |
A. | O(1) |
B. | O(n) |
C. | O(n2) |
D. | None of the mentioned |
Answer» C. O(n2) | |