hash table Flashcards
1
Q
What is a hash table?
A
Data structure that maps keys to values. Uses a hash function to compute an index into an array of buckets from which the value can be found
2
Q
What is a collision?
A
When two keys hash to the same value
3
Q
What is hash table chaining?
A
collection of entries called buckets. each bucket is the top of a linked list holding the items