mirror of
https://github.com/notohh/rustlings.git
synced 2024-12-23 03:38:09 -05:00
19b5e24d5c
I struggled with this exercise and didn't understand that it was looking for a summary of goals scored/conceded per team, instead of per match. My goal here is just to clarify the language, essentially saying "the total number of goals the team scored" to indicate that we are looking for a sum. Updated the exercise description to clarify this point. Relates loosely to closed issue https://github.com/rust-lang/rustlings/issues/1361 |
||
---|---|---|
.. | ||
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.