Skip to Content
Data Structures the Fun Way
book

Data Structures the Fun Way

by Jeremy Kubica
October 2022
Beginner to intermediate
304 pages
8h 30m
English
No Starch Press
Content preview from Data Structures the Fun Way

10 Hash Tables

This chapter introduces hash tables, dynamic data structures hyper-optimized for insertions and lookups. Hash tables use mathematical functions to point us toward the data’s location. They are particularly useful in pure storage cases where the goal is to find and retrieve information quickly.

This is the type of tradeoff we might want to make for our coffee pantry. Forget trying to sort coffees by expiration date or tastiness—we are true coffee aficionados who effortlessly remember the smallest details of every bean in our pantry. For any given attribute (or combination of attributes), we can instantly remember the coffee’s ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Grokking Data Structures

Grokking Data Structures

Marcello La Rocca
Grokking Algorithms

Grokking Algorithms

Aditya Bhargava

Publisher Resources

ISBN: 9781098156602Errata Page