## Sum of all minimum frequency elements in Matrix

Given a NxM matrix of integers containing duplicate elements. The task is to find the sum of all minimum occurring elements in the given matrix.… Read More »

- Find the longest string that can be made up of other strings from the array
- Rearrange characters in a string such that no two adjacent are same using hashing
- Flip minimum signs of array elements to get minimum sum of positive elements possible
- Split the array elements into strictly increasing and decreasing sequence
- Count duplicates in a given linked list
- Find uncommon characters of the two strings | Set 2
- Design a stack which can give maximum frequency element
- Count equal pairs from given string arrays
- Minimum number of given operations required to convert a permutation into an identity permutation
- Remove all occurrences of any element for maximum array sum
- Minimum Bitwise XOR operations to make any two array elements equal
- Longest subsequence such that every element in the subsequence is formed by multiplying previous element with a prime
- Count of pairs of strings which differ in exactly one position
- Print characters and their frequencies in order of occurrence using a LinkedHashMap in Java
- Count of pairs between two arrays such that the sums are distinct
- Partiton the string in two parts such that both parts have at least k different characters
- Minimum number of given operations required to reduce the array to 0 element
- Print characters having odd frequencies in order of occurrence
- Find the lexicographically smallest sequence which can be formed by re-arranging elements of second array
- Count number of pairs in array having sum divisible by K | SET 2
- Extendible Hashing (Dynamic approach to DBMS)
- Number of Positions to partition the string such that atleast m characters with same frequency are present in each substring
- Rearrange given string to maximize the occurrence of string t
- What are Hash Functions and How to choose a good Hash Function?
- Number of ways in which the substring in range [L, R] can be formed using characters out of the range
- Check if product of array containing prime numbers is a perfect square
- Count of quadruplets with given Sum | Set 2
- Find the difference of count of equal elements on the right and the left for each element
- Count distinct points visited on the number line
- Find number of unique triangles among given N triangles

Given a NxM matrix of integers containing duplicate elements. The task is to find the sum of all minimum occurring elements in the given matrix.… Read More »

Design a hit counter which counts the number of hits received in the past 5 minutes. Source: Microsoft Interview Experience “Design hit counter” problem has… Read More »

Given an array of N numbers, find length of the longest subarray such that K is the second largest element on insertion. Examples: Input: a[]… Read More »

Given an array of integers of size ‘n’ and an integer ‘k’, We can perform the Bitwise AND operation between any array element and ‘k’… Read More »

Given an array of integers, the task is to find the minimum number of segments that the array elements can be divided into such that… Read More »

Given a word of length less than 10, the task is to find a number of ways in which it can be arranged without changing… Read More »

Given a NxM matrix of integers containing duplicate elements. The task is to find the sum of all odd occurring elements in the given matrix.… Read More »

Given an integer array with duplicate elements. The task is to find the product of all distinct elements in the given array. Examples: Input :… Read More »

Given a NxM matrix and a difference K. The task is to check if a pair with the given absolute difference exists in the matrix… Read More »

Given an array of integers containing duplicate elements. The task is to find the sum of all odd occurring elements in the given array. That… Read More »

Given a NxM matrix and a product K. The task is to check if a pair with the given product exists in the matrix or… Read More »

Given a NxM matrix and a sum S. The task is to check if a pair with given Sum exists in the matrix or not.… Read More »

Given an array of integers containing duplicate elements. The task is to find the sum of all even occurring elements in the given array. That… Read More »

Given an array of integers containing duplicate elements. The task is to find the sum of all highest occurring elements in the given array. That… Read More »

Given an array of integers containing duplicate elements. The task is to find the sum of all least occurring elements in the given array. That… Read More »