We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04691ee commit 1f9d929Copy full SHA for 1f9d929
HashMap.py
@@ -70,3 +70,12 @@ def retrieve(self, key):
70
retrieval_collisions += 1
71
72
return
73
+
74
+hash_map = HashMap(15)
75
+hash_map.assign("gabbro", "igneous")
76
+hash_map.assign("sandstone", "sedimentary")
77
+hash_map.assign("gneiss", "metamorphic")
78
79
+print(hash_map.retrieve("gabbro"))
80
+print(hash_map.retrieve("sandstone"))
81
+print(hash_map.retrieve("gneiss"))
0 commit comments