Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Rust HashMap and HashSet Collection Types

Trevor Sullivan via YouTube

Overview

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.

Syllabus

Introduction
HashMap
HashSet
Len
Remove
Insert
For Loop
Other HashMap Methods
HashSet Example
Symmetric Difference
Insert Items

Taught by

Trevor Sullivan

Reviews

Start your review of Rust HashMap and HashSet Collection Types

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.