Update hash_set_bst.py

This commit is contained in:
marina 2023-08-07 16:44:51 -07:00 committed by GitHub
parent e65d65d6eb
commit 178b3aea34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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):