Question
What is the time complexity of the above iterative implementation used to find the largest and smallest element in an array?
Answer: Option B
Was this answer helpful ?
The time complexity of the above iterative implementation used to find the largest and the smallest element in an array is O(n).
Was this answer helpful ?
Submit Solution