mirror of
https://github.com/autistic-symposium/master-algorithms-py.git
synced 2025-05-22 08:21:12 -04:00
Update hash_map_array.py
This commit is contained in:
parent
00dada5ff3
commit
e65d65d6eb
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ class Bucket:
|
|||
|
||||
class HashMap:
|
||||
|
||||
def __init__(self, key_space):
|
||||
def __init__(self, size):
|
||||
self.size = size
|
||||
self.table = [Bucket() for _ in range(self.size)]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue