Question: What is the time complexity of finding the minimum element in a stack that supports this operation?
Options:
Correct Answer: O(1)
Solution:
Finding the minimum element in a stack that supports this operation can be done in constant time, O(1), if a secondary stack is used to track minimums.