Question: In a double-ended queue (deque), which operations can be performed at both ends?
Options:
Correct Answer: Enqueue and Dequeue
Solution:
A double-ended queue (deque) allows both enqueue and dequeue operations to be performed at both ends, making it more flexible than a standard queue.