diff --git a/hash_map_oa.py b/hash_map_oa.py index 4311f77..f9b32a2 100644 --- a/hash_map_oa.py +++ b/hash_map_oa.py @@ -224,9 +224,7 @@ class HashMap: index = (initial_index + quadratic_factor**2) % self._capacity def clear(self) -> None: - """ - TODO: Write this implementation - """ + """Clear the contents of the hash map without changing its capacity""" self._buckets = DynamicArray() self._size = 0