Video Coming Soon...

Created by Zed A. Shaw Updated 2026-11-26 20:48:52
 

WARNING: This exercise needs a full review to match recent changes to C. If you find problems please report them with the bug feature (top right, bug icon).

36: Hashmaps

Hash maps (hashmaps, hashes, or sometimes dictionaries) are used frequently in dynamic programming languages for storing key/value data. A Hashmap works by performing a hashing calculation on the keys to produce an integer, then uses that integer to find a bucket to get or set the value. It's a very fast, practical data structure, because it works on nearly any data and is easy to implement.

Here's an example of using a Hashmap (aka, dictionary) in Python:

View Source file ex37.py Only

Previous Lesson Next Lesson

Register for From Impostor to Programmer

Register today for the course and get the all currently available videos and lessons, plus all future modules for no extra charge.