Question: This problem deals with List ADTs and implementations. ( 3 0 pts ) Consider the following scenarios, which include an application requiring the storage of
This problem deals with List ADTs and implementations. pts
Consider the following scenarios, which include an application requiring the storage of a
collection, as well as a proposed data structure from among those we have seen so far AUList
ASList, LLUList, LLSList In each case, provide i at least one strength for the chosen structure,
ii one weakness for the chosen structure, and iii. provide an example of a data structure
among AUList, ASList, LLUList, LLSList that is better suited for the task, and explain why.
Notes: there are no "trick questions" each scenario does have a better choice of structure!
Also, do not consider Stack or Queue implementations as alternatives, even if better suited.
a A user wants to keep track of a blood donor database associating individuals by name with
their blood type : such that
i Names are rarely added to or removed from the database a few per week at most
ii Frequent searches are made within the list by name hundreds of times per day
iii. There is an expected cap on the data size, meaning the max capacity is known in advance.
The chosen data structure for this task is the Arraybased Unsorted List AUList
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
