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
AnswerB.
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