Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
Misc
8.8K+ articles
Mathematical
7.8K+ articles
Arrays
6.5K+ articles
Competitive Programming
3.3K+ articles
Strings
3.3K+ articles
Greedy
2.1K+ articles
Algorithms
2.0K+ articles
Sorting
1.8K+ articles
Searching
1.7K+ articles
DSA
/
Data Structures
/
Hash
Hash
1.3K+ posts
Recent Articles
Popular Articles
Commonly Asked Data Structure Interview Questions on Hashing
Last Updated: 19 May 2025
Hashing is a technique to map data to fixed-size values using a hash function, often used for quick lookups, insertions, and deletions in applications like databases and c...
read more
Hash
DSA
Meeting rooms - Find minimum meeting rooms
Last Updated: 26 March 2025
Given two arrays start[] and end[] such that start[i] is the starting time of ith meeting and end[i] is the ending time of ith meeting. Task is to find minimum number of r...
read more
Sorting
Hash
Arrays
Hash
DSA
Interval
Find a word with highest number of repeating characters
Last Updated: 08 January 2025
Given a string which contains multiple words, our task is to find the word which has highest number of repeating characters.Examples:Input: str = "hello world programming"...
read more
Strings
Hash
DSA
3 Sum - Count all triplets with given sum
Last Updated: 28 December 2024
Given an arrayarr[]and a target value, the task is to find the count of triplets present in the given array having sum equal to the given target.Examples:Input: arr[] = [0...
read more
Arrays
Hash
DSA
3Sum
2 Sum - Find All Pairs With Zero Sum
Last Updated: 13 October 2024
Given an arrayarr[], the task is to find all possible indices (i, j) of pairs(arr[i], arr[j])whose sum is equal to 0 and i != j. We can return pairs inany order, but all t...
read more
Arrays
Hash
DSA
2 Sum - Find All Pairs With Given Sum
Last Updated: 11 October 2024
Given an arrayarr[]and a target value, the task is to find all possible indices (i, j) of pairs (arr[i], arr[j])whose sum is equal to target and i != j. We can return pair...
read more
Arrays
Hash
Arrays
DSA
Intersection of Two Arrays with Distinct Elements
Last Updated: 04 October 2024
Given two arraysa[]andb[] with distinct elements of sizenandm respectively, the task is to find intersection (or common elements) of the two arrays. We can return the answ...
read more
Arrays
Hash
C++
DSA
union-intersection
Union of Two Sorted Arrays
Last Updated: 04 October 2024
Given two sorted arrays a[] and b[], the task is to to returnunionof both the arrays insorted order. Union of two arrays is an array having alldistinctelements that are pr...
read more
Arrays
Searching
Hash
DSA
union-intersection
Union of Two Sorted Arrays with Distinct Elements
Last Updated: 03 October 2024
Given two sorted arrays a[] and b[] with distinct elements, the task is to returnunionof both the arrays in sorted order.Note:Union of two arrays is an array having alldis...
read more
Arrays
Sorting
Hash
DSA
union-intersection
2 Sum - Find a pair with given sum
Last Updated: 01 October 2024
Given an array of integers arr[] and an integer target, print a pair of two numbers such that they add up to target. You cannot use the same element twice.Examples:Input: ...
read more
Arrays
Searching
Hash
DSA
Union of Two Arrays with Distinct Elements
Last Updated: 04 October 2024
Given two arrays a[] and b[] with distinct elements, the task is to return union of both the arrays in any order. Note: Union of two arrays is an array having all distinct...
read more
Arrays
Hash
DSA
union-intersection
Union of Two Arrays
Last Updated: 04 October 2024
Given two arraysa[]andb[], the task is to returnunionof both the arrays inany order.Note:Union of two arrays is an array having alldistinctelements that are present in eit...
read more
Arrays
Hash
DSA
union-intersection
Common Elements in Two Arrays
Last Updated: 17 October 2024
Given two arrays, the task is find common elements of the two arrays. The input arrays may contain duplicates and our job is to find all common elements We are allowed to ...
read more
Arrays
Searching
Hash
DSA
union-intersection
Intersection of two Arrays
Last Updated: 04 October 2024
Given two arrays a[] and b[], the task is find intersection of the two arrays. Intersectionof two arrays is said to be elements that arecommonin both arrays. The intersect...
read more
Arrays
Searching
Hash
DSA
union-intersection
Find Subdomain Visit Count
Last Updated: 14 June 2024
A website domain "write.geeksforgeeks.org" consists of various subdomains. At the top level, we have "org", at the next level, we have "geeksforgeeks.org" and at the lowes...
read more
Intuit
Hash
Picked
Interview-Questions
DSA
1
2
3
4
...
86
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !