Skip to content

Glossary: Data Structures and Algorithms in JavaScript

Bucket

Also written: buckets

One slot in the array a hash map keeps inside. A key's hash number picks which bucket its pair is stored in.

Where the book teaches it

Related terms

Hash functionCollisionHash map