+ 1
Is hashmap similar to graphs in Data Structures ?
2 odpowiedzi
+ 4
No, hashmap (a map) consists of key -> value pairs. The map can have a key only once but a value can belong to multiple keys.
+ 2
Java HashMap is similar to a python dictionary and to a dictionary in general