Question: In a stack, what is the time complexity of the pop operation when implemented using a dynamic array?
Options:
Correct Answer: O(1)
Solution:
The pop operation in a stack implemented using a dynamic array takes O(1) time, as it simply removes the top element.