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