Ready to take land a job at Top Tech companies like Microsoft, Apple, Stripe, Meta, Amazon, and many more?
Enroll in the Software Engineer Interview Masterclass: 5 Courses in 1 on Udemy: https://www.udemy.com/course/software...
This comprehensive course covers coding interviews, system design interviews, behavioral interviews, debugging interviews, job application strategies, and job offer negotiation. I will provide you with a powerful framework for each stage of the interview process. I created those frameworks from hundreds of interviews, many mistakes, and feedback provided by Top tech companies. I will encapsulate more than 5 years of interview experience in just an 8-hour course.
Besides, there is a full Data Structures and Algorithms section where I cover all you need to pass your coding interviews, including Stacks, Queues, Hash Maps, Trees, Graphs, Heaps, Tries, Linked Lists, and more!
----
Welcome to the ultimate guide on Hash Maps or Hash Tables for coding interviews! In this comprehensive 38-minute video, we'll cover everything you need to know about hash maps to ace your coding interviews. Whether you're a beginner or an experienced developer, this video is packed with valuable insights and practical examples.
Join me as we dive deep into the world of hash maps. We'll start by building a hash map from scratch, exploring the underlying principles and data structures. You'll learn how to handle collisions, create a robust hash function, and efficiently store and retrieve key-value pairs.
But that's not all! We'll also explore the built-in dict library in Python, uncovering its powerful features and demonstrating how to leverage it for optimal performance in your coding interviews.
Timecodes:
0:00 - Intro
0:30 - HashMap Properties
2:00 - Example
5:40 - Collisions
6:35 - Chaining
7:40 - HashMap class
9:55 - GET method
12:18 - Hash Function
16:15 - PUT method
18:57 - Unit tests
21:28 - Time Complexity
23:20 - Built-in dict
26:20 - Contains
28:13 - Contains 2
30:30 - ADD items
31:40 - UPDATE items
33:00 - REMOVE items
34:25 - Iterate over dict
37:50 - Close
#coding #codinginterview #softwareengineer #python #leetcode #hashmap #hashtable