Question: 1 Ob jectives Your task is to design and implement the following three user requirements: Objective 1 ( Data Collection ) : Given a list

1 Ob jectives
Your task is to design and implement the following three user requirements:
Objective 1(Data Collection): Given a list of books, their initial quantities, and a list of customer receipts as a text file, read the files and insert them into an appropriate data structure(s).
Objective 2(Inventory Management): Develop methods to allow a store employee to insert a new order for a book, remove an existing order, and search for the remaining quantity of any given book.
Objective 3(Customer Favorites): Develop a method to determine the book that was most frequently purchased by a specific customer. This can be used as information towards suggesting future purchases for that customer.
You may use one or more data structures from those that we studied in class (linked lists, stacks, queues, trees, priority queues, hash tables) to implement these objectives. However, the goal is to ensure that the tasks are accomplished as efficiently as possible, which requires you to understand which data structure is suitable for which task. In particular, you will find that using a simple array will not be sufficient for getting the required efficiency, and you will have to verify this claim.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!