Vidyalelo
Data Structure · Q40

Queues in Data Structures

Programming · Data Structure · question 40

Q40

In which scenario would a double-ended queue (Deque) be particularly useful?

A.
When you need to add or remove elements from both ends
Answer
B.
When you need to sort elements
C.
When you need to manage tasks by priority
D.
When you need to store elements sequentially

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board