Attempt the question, check the explanation, and continue with similar questions to build confidence before exams.
Elements can only be added at the rear in a queue
Elements can be added and removed from both ends in a deque
Deque elements are always sorted
A queue requires more memory than a deque
Video Explanation
Watch Video Solution
Login to get access
Continue with nearby questions to strengthen the same chapter concept while you still have the context fresh in mind.