Skip to content

Glossary: Data Structures and Algorithms in C++

Bucket

Also written: buckets

One slot in the internal array of a hash map; a key's hash picks which bucket its pair is stored in.

Where the book teaches it

Related terms

Hash functionCollisionHash map