Question: Question 6 7 pts Select the best data structure for each situation. Some answer items may be used more than once, while others may not


Question 6 7 pts Select the best data structure for each situation. Some answer items may be used more than once, while others may not be used at all. [Choose] Unknown number of Social Security numbers, look up specific random numbers Names and grades, print alphabetical list [Choose ] 10 random lottery numbers, printed in numerical order [Choose ] [Choose ] Bicycle serial numbers and owners, random lookup by serial number | Choose) [Choose] - [Choose] Scores by inning (incl extra innings) for a single baseball team recorded as scored [Choose] Unknown number of test scores, added sequentially, accessed by random index [Choose] Unknown number of test scores that requires frequent deletion Question 6 7 pts Select the best data structure for each situation. Some answer items may be used more than once, while others may not be used at all. Unknown number of Social Security numbers, look up specific random numbers [Choose ] HashSet ArrayList LinkedList Tree Set TreeMap HashMap Names and grades, print alphabetical list 10 random lottery numbers, printed in numerical order [Choose] [Choose] Bicycle serial numbers and owners, random lookup by serial number [Choose] Scores by inning (incl extra innings) for a single baseball team recorded as scored [Choose ] Unknown number of test scores, added sequentially, accessed by random index [Choose] Unknown number of test scores that requires frequent deletion
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
