mirror of
https://codeberg.org/andyscott/HashMaps.git
synced 2024-12-21 12:33:10 -05:00
Update README.md
This commit is contained in:
parent
df3117dc8a
commit
300c0f02dc
1 changed files with 4 additions and 1 deletions
|
@ -2,4 +2,7 @@
|
||||||
|
|
||||||
These HashMap implementations were my final project for **CS 261 - Data Structures**
|
These HashMap implementations were my final project for **CS 261 - Data Structures**
|
||||||
at Oregon Sate. hash\_map\_oa.py features open addressing with quadratic probing
|
at Oregon Sate. hash\_map\_oa.py features open addressing with quadratic probing
|
||||||
while hash\_map\_sc.py uses separate chaining.
|
while hash\_map\_sc.py uses separate chaining to handle collisions. Both implementations
|
||||||
|
use a dynamic array for the underlying hash table, however hash\_map\_sc.py uses a
|
||||||
|
singly linked list for each bucket, and hash\_map\_oa.py uses a single HashEntry
|
||||||
|
object at each index of the array.
|
||||||
|
|
Loading…
Reference in a new issue