What is the difference between a map and a dictionary?
Asked 07 September, 2021
Viewed 455 times
  • 61
Votes

I know a map is a data structure that maps keys to values. Isn't a dictionary the same? What is the difference between a map and a dictionary1?


1. I am not asking for how they are defined in language X or Y (which seems to be what generally people are asking here on SO), I want to know what is their difference in theory.

12 Answer