mirror of
https://github.com/autistic-symposium/master-algorithms-py.git
synced 2025-05-22 08:21:12 -04:00
Update hash_set_bst.py
This commit is contained in:
parent
e65d65d6eb
commit
178b3aea34
1 changed files with 2 additions and 2 deletions
|
@ -5,8 +5,8 @@
|
|||
|
||||
class HashSet:
|
||||
|
||||
def __init__(self):
|
||||
self.size = 131
|
||||
def __init__(self, size):
|
||||
self.size = size
|
||||
self.bucket = [Bucket() for _ in range(self.size)]
|
||||
|
||||
def _get_hash_key(self, key):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue