mirror of
https://github.com/autistic-symposium/master-algorithms-py.git
synced 2025-04-29 12:16:14 -04:00
Update hash_map_array.py
This commit is contained in:
parent
00dada5ff3
commit
e65d65d6eb
@ -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…
x
Reference in New Issue
Block a user