Question: What is the time complexity of pushing an element onto a stack implemented using a linked list?
Options:
Correct Answer: O(1)
Solution:
Pushing an element onto a stack implemented using a linked list takes constant time, O(1), because it involves adding a new node at the head of the list.