1.What is a data structure relationship to a data type?
1. A data structure contains functions and data type is necessaryto implement algorithms
2. A data structure classifies the data and a data type organizesthe data.
3. A data structure is necessary to implement algorithms, and adata type contains functions
4. A data structure organizes the data, and a data type classifiesthe data
2. What is the difference between a list and a deque?
A deck item is immutable while items are not
A List can easily add items and remove items from the front,while a deque cannot
A deque can easily add items and remove items from
OR
OR