Rust Programming Exercises: Find All Duplicates in an Array

Published: 06 May 2022
on channel: nyxtom 🏕
2,513
86

In this video we will be implementing the solution to the leet code problem Find All Duplicates in an Array in Rust. We will make use of the Entry API from a HashMap, HashSets, and the Vector in Rust. We will iterate over our values and learn how to compare each of the algorithms based on big-O notation. We also make use of the collect and iter functions to convert HashSets back into Vector for our results and make use of test functions to test our code.

↠ References:
Find All Duplicates Problem: https://leetcode.com/problems/find-al...
Vec: https://doc.rust-lang.org/nightly/std...
HashMap: https://doc.rust-lang.org/stable/std/...
HashSet: https://doc.rust-lang.org/stable/std/...

↠ Dotfiles: https://github.com/nyxtom/dotfiles
↠ Twitter: @nyxtom   / nyxtom  
↠ Channel:    / nyxtom  

Cheers! 🍻

🦀 #rust #rustlang #rustprogramming #exercises #leetcode #programming


On this page of the site you can watch the video online Rust Programming Exercises: Find All Duplicates in an Array with a duration of hours minute second in good quality, which was uploaded by the user nyxtom 🏕 06 May 2022, share the link with friends and acquaintances, this video has already been watched 2,513 times on youtube and it was liked by 86 viewers. Enjoy your viewing!