filmov
tv
Hash Map | Internal Working and Implementation of Hash Maps
![preview_player](https://i.ytimg.com/vi/eNoli_ENjcE/maxresdefault.jpg)
Показать описание
My coding profiles:
Hi Everyone!!
This video will introduce you to the basic theory behind how hashMaps are designed in standard template libraries of languages like C++ and Java.
In this video I will also be discussing various designs and implementing hashMap/Set from scratch in C++ using classes.
Here is gist of what's in the video:
1. Challenge: Design DS which supports O(1) insert delete and search.
2. Exploring how vectors can be used and associated time complexities.
3. Trying to optimize vectors for insert delete and search operation.
4. Self balancing binary search trees beat vectors in efficiency for such DS.
5. Challenge 2: Design required DS for integers when the integers are a under a given constraint, Solution to the challenge.
6. Concept of buckets and hash functions which will pave way for efficient hashSets.
7. Implementing the idea discussed.
8. Analyzing the time complexity and it's dependence upon number of buckets
9. Redesigning the bucket to further optimize performance.
10. Implementing the final DS and comparing it to unordered_set from C++ and hashSet from Java.
Enjoy Watching!!
Super useful books for algo ds and programming fundamentals!
Hi Everyone!!
This video will introduce you to the basic theory behind how hashMaps are designed in standard template libraries of languages like C++ and Java.
In this video I will also be discussing various designs and implementing hashMap/Set from scratch in C++ using classes.
Here is gist of what's in the video:
1. Challenge: Design DS which supports O(1) insert delete and search.
2. Exploring how vectors can be used and associated time complexities.
3. Trying to optimize vectors for insert delete and search operation.
4. Self balancing binary search trees beat vectors in efficiency for such DS.
5. Challenge 2: Design required DS for integers when the integers are a under a given constraint, Solution to the challenge.
6. Concept of buckets and hash functions which will pave way for efficient hashSets.
7. Implementing the idea discussed.
8. Analyzing the time complexity and it's dependence upon number of buckets
9. Redesigning the bucket to further optimize performance.
10. Implementing the final DS and comparing it to unordered_set from C++ and hashSet from Java.
Enjoy Watching!!
Super useful books for algo ds and programming fundamentals!
Комментарии