QUESTION IMAGE
Question
question # 3
multiple choice
which statement is true?
a collection is a type of deque.
a list is a type of deque.
a deque is a type of collection.
a deque is a type of list.
A collection is a general term for a group of elements. A deque (double - ended queue) is a specific data structure. A deque is a type of collection as it is a way to group and manage elements. A list is a different data structure, and a deque is not a type of list. Also, a collection is not a type of deque, and a list is not a type of deque.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
C. A deque is a type of collection.