EasyCount subarrays with equal number of 1’s and 0’sProblem Statement The problem “Count subarrays with equal number of 1’s and 0’s” read more
MediumPalindrome Substring QueriesProblem Statement The problem “Palindrome Substring Queries” states that you are given read more
EasyElements to be added so that all elements of a range are present in arrayProblem Statement “Elements to be added so that all elements of a range are present in read more
EasyCount subarrays having total distinct elements same as original arrayProblem Statement “Count subarrays having total distinct elements same as original read more
MediumCuckoo HashingProblem Statment Cuckoo Hashing is a method used to solve the problem when a collision occurs in a read more
EasySubarrays with distinct elementsProblem Statement “Subarrays with distinct elements” states that you are given an array read more
MediumCount quadruples from four sorted arrays whose sum is equal to a given value xProblem Statement Problem “Count quadruples from four sorted arrays whose sum is equal to a read more
EasyCount pairs from two linked lists whose sum is equal to a given valueProblem Statement Problem “Count pairs from two linked lists whose sum is equal to a given read more
EasyFind sum of non-repeating elements (distinct) elements in an arrayProblem Statement Given an integer array, A[] with repeated elements, the “Find sum of read more
EasyFind distinct elements common to all rows of a matrixProblem Statement We are given a matrix of all the integers. The problem “Find distinct read more
EasyNumbers with prime frequencies greater than or equal to kProblem Statement Problem “Numbers with prime frequencies greater than or equal to k” read more
EasyConvert an array to reduced formProblem Statement Problem “Convert an array to reduced form” states that you are given read more
MediumFind pairs with given sum such that elements of pair are in different rowsProblem Statement “Find pairs with given sum such that elements of pair are in different read more
EasyCommon elements in all rows of a given matrixProblem Statement “Common elements in all rows of a given matrix” problem state that, read more
EasyFind all permuted rows of a given row in a matrixProblem Statement Find all permuted rows of a given row in a matrix states that you are given a read more
EasyGiven two unsorted arrays find all pairs whose sum is xProblem Statement Given two unsorted arrays, find all pairs whose sum is x problem states that you read more
EasySort elements by frequencyProblem Statement You are given an array of integers, some numbers are repeated in it. The problem read more
EasyFind the first repeating element in an array of integersProblem Statement Find the first repeating element in an array of integers problem states that you read more
EasyCount items common to both the lists but with different pricesProblem Statement You are given two lists. Each of which index contains the name of the item and read more
EasyMinimum number of subsets with distinct elementsProblem Statement Suppose you have an array of integers of size n. The problem statement asks to read more
EasyLongest Span with same Sum in two Binary arraysProblem Statement You are given two arrays of which each contains binary number. The problem read more
Find Number of Employees Under every EmployeeHashMaps are one of the most useful data structures. Find the number of employees under every read more
Smallest Element Repeated Exactly K TimesWe are given an array A[] on size n. We have to find the smallest element that is repeated exactly read more
K-th Distinct Element in an ArrayYou are given an integer array A, print k-th distinct element in an array. The given array may read more
Cumulative Frequency of Count of Each Element in an Unsorted ArrayWe are given an unsorted array. The task is to calculate the cumulative frequency of count of each read more
Group Words With Same Set of CharactersIn Group words with same set of characters problem, we have given a list of words with lower cases. read more
First non Repeating ElementWe are given an array A. We have to find the first non repeating element in the array. Example read more
Second Most Repeated Word in a SequenceGiven a sequence of strings, the task is to find out the second most repeated (or frequent) word or read more
Print All Distinct Elements of a Given Integer ArrayGiven an integer array, print all distinct elements in the array. The given array may contain read more
Pair of Positive Negative Values in an ArrayIn pair of positive negative values in an array problem we have given an array A of distinct read more
Remove Minimum Number of Elements Such That no Common Element Exist in both ArrayGiven two arrays A and B consisting of n and m elements respectively. Remove minimum number of read more
Maximum Occurring CharacterGiven a string of size n containing lower case letters. We need to find the maximum occurring read more
Count Pairs With Given SumGiven an integer array of size n, and an integer  ‘K’, you need to count the number of read more
Most Frequent Element in an ArrayYou are given an array of integers. The problem statement says that you have to find out the most read more
Find Pair with Greatest Product in ArrayGiven an array A of N elements. The task is to find the greatest number S which is present in the read more
Smallest Subarray With all Occurrences of a Most Frequent ElementIn the smallest subarray with all occurrences of a most frequent element problem, we have given an read more
Find Top K (or Most Frequent) Numbers in a StreamIn find top k (or most frequent) numbers in a stream problem, we have given an integer array read more
Next Greater Frequency ElementIn the next greater frequency element problem, we have given an array a[ ] of size n containing read more
K Empty Slots LeetCodeK Empty Slots is a very famous problem on LeetCode. The problem statement is like that- A garden is read more
Change the Array into Permutation of Numbers From 1 to NIn this problem, we have given an array A of n elements. We need to change the array into a read more