Question: please help me match th. Select the best data structure for each situation. Some answer items may be used more than once, while others may
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 Choose ] HashSet TreeSet Names and grades, print alphabetical TreeMap list ArrayList LinkedList 10 random lottery numbers, printed Choose in numerical order Choose Bicycle serial numbers and owners, random lookup by serial number IChoose ] Scores by inning (incl extra innings) IChoose I choose for a single baseball team recorded as- scored Unknown number of test scores, added sequentially, accessed by random index [Choose ) Unknown number of test scores that requires frequent deletion I Choose ]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
