Design HashMap - Leetcode 706

Publié le: 21 janvier 2024
sur la chaîne: Algorial
972
18

Today we will solve the "Design HashMap" problem from Leetcode. We will use linked list behind the scenes as Buckets to solve this problem.

Give this problem a try here: https://leetcode.com/problems/design-...

Here is the related video for building a HashSet:    • Design HashSet - Leetcode 705  

Don't miss Linked list playlist here:    • Linked Lists  

Arrays playlist here:    • Queue  

Sets playlist here:    • Sets  

Strings playlist here:    • Strings  

This question has been asked by Google, Meta, Amazon, Apple, Microsoft, and so many other companies.

Please check the channel page for more leetcode solution videos. Also don't forget to like, comment, and subscribe.
Hope you enjoy the video and Thanks for watching 🙏

Chapters:
0:00 Intro and question
0:08 Examples
0:50 The HashSet Video
1:09 Base of HashMaps
1:27 Hash Function
2:30 Why Prime Number?
2:58 Hash Collision
5:23 Code Walkthrough
10:48 Time and Space Complexity


Sur cette page du site, vous pouvez voir la vidéo en ligne Design HashMap - Leetcode 706 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Algorial 21 janvier 2024, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 972 fois et il a aimé 18 téléspectateurs. Bon visionnage!