You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sunface 5da1e496a1
update the orgnization of the repo, add rustling -> exercise
3 years ago
..
README.md update the orgnization of the repo, add rustling -> exercise 3 years ago
hashmap1.rs update the orgnization of the repo, add rustling -> exercise 3 years ago
hashmap2.rs update the orgnization of the repo, add rustling -> exercise 3 years ago
vec1.rs update the orgnization of the repo, add rustling -> exercise 3 years ago
vec2.rs update the orgnization of the repo, add rustling -> exercise 3 years ago

README.md

Collections

Rusts standard library includes a number of very useful data structures called collections. Most other data types represent one specific value, but collections can contain multiple values. Unlike the built-in array and tuple types, the data these collections point to is stored on the heap, which means the amount of data does not need to be known at compile time and can grow or shrink as the program runs.

This exercise will get you familiar with two fundamental data structures that are used very often in Rust programs:

  • A vector allows you to store a variable number of values next to each other.
  • 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.

Further information