About 22,300 results
Open links in new tab
  1. What is the true difference between a dictionary and a hash table?

    Jan 13, 2010 · 43 A dictionary is a data structure that maps keys to values. A hash table is a data structure that maps keys to values by taking the hash value of the key (by applying some hash …

  2. Difference between a HashMap and a dictionary ADT

    Sep 17, 2015 · Nevertheless, Dictionary class is obsolete now and you may forget it. There are differences between the function members of Map and Dictionary, however you may find the …

  3. What is the difference between a map and a dictionary?

    Mar 13, 2018 · Dictionary is defined here as having the insert, delete, and find functions. Map as used by Java (according to this) is a dictionary with the requirement that keys mapping to …

  4. Why is Dictionary preferred over Hashtable in C#? - Stack Overflow

    1733 For what it's worth, a Dictionary is (conceptually) a hash table. If you meant "why do we use the Dictionary<TKey, TValue> class instead of the Hashtable class?", then it's an easy …

  5. Difference between Dictionary and Hashtable - Stack Overflow

    Possible Duplicate: Why is Dictionary preferred over Hashtable in C#? What is the difference between Dictionary and Hashtable. How to decide which one to use?

  6. Is a Python dictionary an example of a hash table?

    Sep 22, 2008 · One of the basic data structures in Python is the dictionary, which allows one to record "keys" for looking up "values" of any type. Is this implemented internally as a hash …

  7. Comparison of Java map and Python dictionary - Stack Overflow

    Jan 20, 2021 · 8 Yes at a high level : Python dictionary is implemented as hash tables underneath, so operations (get/put, bucketing) and performance (O (1) lookup) are similar to …

  8. collections - What are the differences between a HashMap and a ...

    What are the differences between a HashMap and a Hashtable in Java? Which is more efficient for non-threaded applications?

  9. Why would I use a HashSet over a Dictionary? - Stack Overflow

    Jan 18, 2015 · That is why I needed a Dictionary and a custom comparator on the combination of properties. I need the actual item that was stored, as it was different from the item that I used …

  10. dictionary - Map vs Object in JavaScript - Stack Overflow

    9 According to Mozilla Object vs. Map in JavaScript in a short way with examples. Object- follows the same concept as that of map i.e. using key-value pair for storing data. But there are slight …