Question: a . What is the appropriate data structure that can be used in this case study to store the products? Justify your answer. b .
aWhat is the appropriate data structure that can be used in this case study to store the products? Justify your answer.
b What are the operations of the chosen data structure that allow the implementation of purchase and sale transactions?
c Assume that the following products are added and removed tofrom the chosen data structure identified in subquestion a in the following order.
Add Product
Add Product
Add Product
Remove a Product
Add Product
Remove a Product
Add Product
Add Product
Show a snapshot of the chosen data structure after every operation.
d What is the appropriate data structure that can be used in this case study to manage the customers at the checkout? Justify your answer.
e What are the operations of the chosen data structure that allow a fair way to manage the checkout?
f Assume that the following customers are added and removed tofrom the chosen data structure identified in subquestion d in the following order.
Add Client
Add Client
Add Client
Add Client
Add Client
Add Client
Remove a Client
Remove a Client
Show a snapshot of the chosen data structure after every operation.
g What is the appropriate data structure that can be used in this case study to manage the suppliers? Justify your answer.
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
