[Solved] What are the Similarities between Dictionary and Array data types? [closed]
A dictionary maps strings to values. An array maps integers to values. That is about it! So, seriously: in the end, both data structures map a “key set” to values. For dictionaries, the keys can of (almost) arbitrary type, without any constraint on them (besides being “hash able”). Whereas an array maps a consecutive range … Read more