Question: When implementing a queue using two stacks, what is the average time complexity for enqueue operations?
Options:
Correct Answer: O(1)
Solution:
The average time complexity for enqueue operations in a queue implemented using two stacks is O(1), as most operations do not require transferring elements.