mirror of
https://github.com/ArthurDanjou/rustlings.git
synced 2026-02-04 05:37:50 +01:00
- Created empty solution files for various exercises in strings, modules, hashmaps, options, error handling, generics, traits, lifetimes, tests, iterators, smart pointers, threads, macros, clippy, conversions, and quizzes. - Each solution file contains a main function with a comment indicating that it will be automatically filled after completing the exercise. - Added a README.md file to provide information about the solutions and their purpose.
13 lines
571 B
Markdown
13 lines
571 B
Markdown
# 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++](https://en.cppreference.com/w/cpp/container/unordered_map),
|
|
[*dictionary* in Python](https://docs.python.org/3/tutorial/datastructures.html#dictionaries) or an *associative array* in other languages.
|
|
|
|
This is the other data structure that we've been talking about before, when
|
|
talking about Vecs.
|
|
|
|
## Further information
|
|
|
|
- [Storing Keys with Associated Values in Hash Maps](https://doc.rust-lang.org/book/ch08-03-hash-maps.html)
|