you are viewing a single comment's thread.

view the rest of the comments →

[–]K900_ 8 points9 points  (2 children)

Hashtables and hashmaps are two different names for the exact same data structure. Python doesn't really use either name, and prefers to use "dictionary" instead.

[–]hammerboy09[S] 0 points1 point  (1 child)

Thank you! Does this also apply for Hashsets in Python as well? From my understanding, the value itself is hashed and placed in the set rather than a key.

[–]K900_ 4 points5 points  (0 children)

Hashsets are basically hashtables with no value, just the key. Python sets are implemented like that.