bbfb4c7e63
The existing test functions only check if a kind of fruit exists in the hashmap, but not if the amount of fruits is higher than zero. This new test function solves this. |
||
---|---|---|
.. | ||
README.md | ||
hashmaps1.rs | ||
hashmaps2.rs | ||
hashmaps3.rs |
README.md
Hashmaps
A hash map allows you to associate a value with a particular key. You may also know this by the names unordered map in C++, dictionary in Python or an associative array in other languages.
This is the other data structure that we've been talking about before, when talking about Vecs.