Hash Table Flashcards

1
Q

what is a hash table

A

a data structure that creates a mapping between keys and values

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

explain how hash tables work

A
  • the address or the index value of the data element is generated from a hash function
  • this makes accessing the data faster as the index value behaves as a key
How well did you know this?
1
Not at all
2
3
4
5
Perfectly