We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8b6ea4 commit 096619cCopy full SHA for 096619c
1 file changed
datastructures/hashmap/hash_map.py
@@ -29,10 +29,10 @@ def __hash_function(self, key: int) -> int:
29
30
def set(self, key: int, value: Any) -> None:
31
"""
32
- Used to add an item to the HashMap/HashTable given it's unique Key and it's value. if the item is already in the
+ Used to add an item to the HashMap/HashTable given its unique Key and its value. If the item is already in the
33
HashMap, then an update to its value is performed.
34
- @param key: Key used to identify the item
35
- @param value: Represents the data of the Item
+ `@param` key: Key used to identify the item
+ `@param` value: Represents the data of the Item
36
37
hash_key = self.__hash_function(key)
38
self.buckets[hash_key].update(key, value)
0 commit comments