Question: Which of the following operations has a time complexity of O(n) in a stack?
Options:
Correct Answer: None of the above
Solution:
All basic operations (Push, Pop, Peek) in a stack have a time complexity of O(1). Therefore, the correct answer is \'None of the above\'.