Explore the HashMap and HashSet collection types in Rust through this 36-minute tutorial. Learn about these powerful data structures from the standard library, including their similarities to dictionaries, hashtables, and associative arrays in other languages. Discover how to use HashMaps for key-value pairs and HashSets for unique value collections. Dive into practical examples demonstrating methods like len, remove, insert, and iteration with for loops. Gain insights into advanced concepts such as symmetric difference in HashSets. Master these essential Rust constructs to enhance your programming skills and build more efficient applications.
Overview
Syllabus
Introduction
HashMap
HashSet
Len
Remove
Insert
For Loop
Other HashMap Methods
HashSet Example
Symmetric Difference
Insert Items
Taught by
Trevor Sullivan