Saloni Goyal Posted on Jan 31, 2021 Name an every day object/scenario that serves as an example of a popular data structure #explainlikeimfive Top comments (2) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Collapse Expand Bertil Muth Bertil Muth Bertil Muth Follow Agile coach and developer Location Munich, Germany Education Diploma, Computer Science Work Senior Consultant at HOOD GmbH Joined May 13, 2017 • Feb 4 '21 Dropdown menu Copy link Hide A phone book is an example of a map data structure, where the name is the key, and the number is the value. Interestingly, in some programming languages, a map is called a dictionary. So I guess a dictionary is also a good example of a map :-) Collapse Expand Saloni Goyal Saloni Goyal Saloni Goyal Follow Extremely curious. Education The LNM Institute of Information Technology Work Software Development Engineer II at Adobe Joined Jul 15, 2019 • Feb 6 '21 Dropdown menu Copy link Hide Wow, both very good examples. Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink. Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse
Top comments (2)
A phone book is an example of a map data structure, where the name is the key, and the number is the value.
Interestingly, in some programming languages, a map is called a dictionary. So I guess a dictionary is also a good example of a map :-)
Wow, both very good examples.