Question: In a stack implemented using an array, what is the time complexity of the push operation?
Options:
Correct Answer: O(1)
Solution:
The push operation in a stack implemented with an array is O(1) as it adds an element to the top of the stack.