Question: C + + Identify the best container type for each of the following scenarios, provide an example declaration of the container and explain why you

C++
Identify the best container type for each of the following scenarios, provide an example declaration of the container and explain why you have chosen that container type. Number your answers and put them in a word processing document to submit with your name at the top.
1. You are designing a web site that displays information about the top 100 ranked tennis players. When the user clicks a next button to view the next ranked player the server needs to return information about the player who has that ranking.
2. You are designing an e-commerce site and need an easy way to look up the price for any product id.
3. You are designing a calendar application and need to store the English spelling of the 12 months of the year.
4. You are designing a room reservation system and need some way to store an up to date collection of all rooms still available for reservation.
5. You are designing a restaurant recommendation system and need to be able to easily find all of the restaurants located in a particular zipcode.

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!