UPDATED_what is hashing and map
Duration: 7 min
This video lesson is available to enrolled students.
Inside: a video lesson and guided study material.
Module outline
- Language Skills (English): Vocabulary Verbal Analogy (Word Based Analogy) Noun Pronoun Verb Adjectives Adverb Preposition Articles Conjunction Tenses Modals Subject Verb Agreement (Verb Noun Agreement) Determiner Active Passive Voice (Voice) Direct and Indirect Speech Sentence Correction (Error Correction) Sentence Completion (Fill in the blanks) Sentence Construction Sentence Re-arrangements (Para Jumbles) (Narrative Sequencing) Comprehension / Reading Comprehension / Unseen Passages (Critical Reasoning) (Paragraph Questions) Cloze Test (Cloze Passage)
- General Aptitude (Quantitative Ability): Percentage Ratio and Proportion (Ratios) Average Profit and Loss Simple Interest and Compound Interest Time and Work Pipe and Cistern Speed Time and Distance Mixture and Alligation Age Problems Partnership Number System HCF LCM Divisibility Rules Powers and Exponents (Surds and Indices) Algebra Data Interpretation Statistics Sequence and Series (Series) Logarithm Arithmetic
- General Aptitude (Reasoning Ability): Series (Number and Letter Series) (Numerical Relations and Reasoning) Coding Decoding Syllogisms Blood Relations Directions (Direction Test) Ranking, Order and Sequence Inequality Logical Sequence Of Words Seating Arrangements Puzzle Solving (Puzzles) Non Verbal Reasoning (Spatial Aptitude) (Spatial Reasoning) (Visual Reasoning) Cubes & Dices Venn Diagram Deductive and Inductive Reasoning (Logical Deduction and Induction) (Prepositional Reasoning) Selection Decision Table (Decision Making) Analytical Reasoning (Counting Figures Reasoning) Clock Calendar Data Sufficiency Analogy
- Technical Skills MCQ - Data Structure: Introduction to DS Array Stack Queue Linked List Tree Graphs Hashing
- Technical Skills MCQ - Networking: Introduction to CN Data Communication DLL: Access Control DLL: Flow Control DLL: Error Control DLL: Framing Data Link Layer - Ethernet Net Layer: IPv4 & Proto Net Layer: IP Addressing Net Layer:Routing Protocol Transport Layer Services Application Layer Network Security
- Technical Skills MCQ - Operating System: Introduction to OS Process Management CPU Scheduling Process Synchronization Deadlock Threads & Process Creation Memory Management Virtual Memory File Management Windows OS Linux OS Security Virtual Machines
- Technical Skills MCQ - DBMS: Basics of DBMS ER Diagram Relational Model & Functional Dependencies Keys & Integrity Constraints Normalization (1NF - BCNF) File Organization & Indexing Relational Algebra SQL Transaction Management Concurrency Control Database Recovery Database Security & Authorization NoSQL
- Technical Skills MCQ - Software Engineering: Fundamentals of Software Engineering Software Requirements and Quality Assurance Software Design, Estimation and Metrics Software Testing Software Maintenance and Configuration Management
- Technical Skills MCQ - Cloud Computing: Cloud Computing and IoT
- Technical Skills MCQ - Cyber Security: Cyber and Info Security Security in Mobile and Wireless Computing
- Technical Skills (Coding): Coding Questions by Yash Sir C Programming by Yash Sir Programming in C++ Java Python for Placements by Yash Sir Object Oriented Programming (OOPS) DSA by Prashant sir Coding Questions Bank
AI summary & chapters
AI Summary
An AI-generated summary of this video lecture.
This lecture introduces hashing and maps as data structures designed to optimize search operations. The instructor begins by reviewing the limitations of existing structures, noting that while insertion and deletion vary, searching is the most frequent operation. He compares time complexities across unsorted arrays (O(n)), sorted arrays and binary search trees (BST) (O(log n)), and linked lists or binary trees (BT) (O(n)). The core motivation for hashing is presented as a method to achieve O(1) search time, independent of the number of items stored. The lecture defines hashing as a technique that uses keys to find memory addresses directly, converting large or complex keys into smaller practical numbers. Visual diagrams illustrate how a hash function maps keys like names or phone numbers to specific bucket indices in a hash table. The concept of collisions is addressed, showing how overflow entries are linked when multiple keys map to the same index. The session concludes with a summary of these mechanisms and a thank you screen.
Chapters
0:00 – 2:00 00:00-02:00
The instructor introduces the topic of Hashing and Maps, standing in front of a presentation slide displaying these keywords. He gestures with his hands while explaining the concepts, indicating an introductory phase of the lecture where foundational definitions or purposes are likely being discussed. The visual focus remains on the instructor and the title slide, suggesting this segment sets the stage for deeper technical details. Key visible events include the instructor introducing the topic and displaying a title slide with 'Hashing & Maps' and 'GOLU SIR'. The instructor then reviews search time complexities for various data structures, listing O(n) for unsorted arrays and linked lists, while noting O(log n) for sorted arrays and BSTs. This comparison sets the motivation for hashing by highlighting the limitations of current structures in achieving constant time search.
2:00 – 5:00 02:00-05:00
The video explains the concept of hashing as a technique where search time is independent of the number of items being searched. It illustrates how keys like phone numbers or IDs are converted into smaller practical numbers to serve as indices in a hash table, allowing for O(1) access time. The visual aids show keys mapping to buckets and handling overflow entries when collisions occur. Specific examples like 'John Smith' (521-1234) and 'Ted Baker' (418-4165) are highlighted on screen. The instructor points to keys on the left, showing lines connecting them to bucket indices. Collision handling is demonstrated with overflow entries linked together when multiple keys map to the same bucket, such as 'John Smith' and 'Lisa Smith' both mapping to index 001. The text on screen explicitly states that hashing is a technique where search time is independent of the number of items.
5:00 – 7:15 05:00-07:15
The video segment explains the concept of hashing as a technique where search time is independent of the number of items, utilizing keys to find memory addresses directly. The instructor illustrates how a hash function maps large keys like names or phone numbers to smaller integers used as indices in a hash table. The visual aids demonstrate the structure of buckets and overflow entries, showing how collisions are handled when multiple keys map to the same index. The segment concludes with a 'Thanks for watching' screen, indicating the end of this specific topic explanation. Key visible events include the definition of hashing technique and mapping keys to memory addresses. The hash function is denoted as H: K -> L on screen, mapping keys to locations. Specific names like 'Sam Doe' and 'Sandra Dee' appear in the bucket diagrams, reinforcing the practical application of hashing for data retrieval.
The lecture systematically builds an understanding of hashing by first establishing the problem space through a review of search complexities in standard data structures. By contrasting O(n) and O(log n) operations with the desired O(1) performance, the instructor creates a clear pedagogical need for hashing. The core definition provided is that hashing converts keys into memory addresses, effectively bypassing the need for sequential or tree-based traversal. The visual progression from abstract definitions to concrete examples like 'John Smith' and phone numbers helps ground the theoretical concept. The handling of collisions via overflow entries is a critical detail emphasized throughout, ensuring students understand that O(1) access assumes effective collision management. The consistent use of diagrams showing buckets and linked overflow entries reinforces the structural implementation of hash tables.

