Open In App

Hashing in Data Structure

Last Updated : 12 Dec, 2024
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

Hashing is a technique used in data structures that efficiently stores and retrieves data in a way that allows for quick access.

  • Hashing involves mapping data to a specific index in a hash table (an array of items) using a hash function that enables fast retrieval of information based on its key.
  • The great thing about hashing is, we can achieve all three operations (search, insert and delete) in O(1) time on average.
  • Hashing is mainly used to implement a set of distinct items and dictionaries (key value pairs).
Introduction-to-Hashing
Hashing in Data Structure

Basics

Easy Problems

Medium Problems

Hard Problems

Quick Links :

Recommended:


Similar Reads

Article Tags :
Practice Tags :
three90RightbarBannerImg