Question

ake Match the Data Structure with the most appropriate sample usage scenario. Array l Choose ) Choose Undo/Redo Trackinge ArrayList Mobile phone account objects, indexed by unique phone number 28 nting network, parents inked together by having children who are in the same elementary class For each month of the year, store the number of Mondays, update ewery lanuary 1st Modet of politicians and big political donors, showing campaign contribution amcunts Grocery list, organized by section of grocery store Grocery list, unorganized Constantly expanding list of inventory items, arranged for easy seanching by product name Purchäsing requests, to be handled in order reccived Linked List (double-linked nodes 28 BST (linked nodes) Qucue (linked nodes l Choose l Stack (array l Choose Max Heap (array l Choose l Hash Table farray with separate chaining) l Choose Weighted Digraph (adjacency matrixi l Choose Unweighted Undirected Graph (adjacency lis) Chooset

media%2Fa11%2Fa1107c6b-992f-459c-8765-78

media%2F6b3%2F6b37b8d6-5a52-4d1a-bc71-63

can you match the right answer for all of these

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Array                                                                           Grocery list, unorganized

ArrayList                                                                     Constantly expanding list of inventory items arranged for easy searching

LinkedList                                                                  For each month of the year, store the number of mondays, update every january 1st

BST                                                                             Grocery list organized by section of grocery list

Queue                                                                          Purchasing requests, to be handled in order received

Stack                                                                           Undo/redo tracking

MaxHeap                                                                    Purchasing requests, prioritized by employee rank

Hash Table                                                                  Mobile phone objects indexed by unique phone numbers

Weighted Digraph                                                      Parenting network, linked together by having children who are in same elementry class

Unweighted Digraph                                                  Model of politicians and big politicians

Add a comment
Know the answer?
Add Answer to:
can you match the right answer for all of these ake Match the Data Structure with...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT