Question: Question 4 2 pts What is the relationship between a vector and a list? They are the same. Records in the List ADT can cheaply
Question
pts
What is the relationship between a vector and a list?
They are the same.
Records in the List ADT can cheaply be inserted and deleted. The vector ADT can be indexed in constant time.
The list uses doubly linked lists, the vector uses arrays.
Lists cannot be searched, vectors can.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
