## Find missing elements from an Array

Given a list of integers from the range [1, N] with some of the elements missing. The task is to find the missing elements. Note… 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
- 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
- Remove all occurrences of any element for maximum array sum
- Print characters and their frequencies in order of occurrence using a LinkedHashMap in Java
- 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
- Partiton the string in two parts such that both parts have at least k different characters
- Extendible Hashing (Dynamic approach to DBMS)
- Count of pairs between two arrays such that the sums are distinct
- Minimum number of given operations required to reduce the array to 0 element
- Print characters having odd frequencies in order of occurrence
- Count number of pairs in array having sum divisible by K | SET 2
- Find the lexicographically smallest sequence which can be formed by re-arranging elements of second array
- What are Hash Functions and How to choose a good Hash Function?
- Sum of nodes in the left view of the given binary tree
- Rearrange given string to maximize the occurrence of string t
- Check duplicates in a stream of strings
- Minimum deletions required to make frequency of each letter unique
- Find the difference of count of equal elements on the right and the left for each element
- Print characters having even frequencies in order of occurrence
- Count of quadruplets with given Sum | Set 2
- Program to parse the Molecules and get the Atoms count
- Longest subsequence with at least one character appearing in every string
- Find the color of given node in an infinite binary tree
- XOR of elements in an array having prime frequency

Given a list of integers from the range [1, N] with some of the elements missing. The task is to find the missing elements. Note… Read More »

Given an array arr[] of strings containing the names of employees in a company. Assuming that the names are being entered in a system one… Read More »

Given an array arr[] of N integers representing the lengths of the gloves, the task is to count the maximum possible pairs of gloves from… Read More »

Given two integers A and B, the task is to check whether the given numbers are anagrams of each other or not. Just like strings,… Read More »

Given an array arr[] of N elements, the task is to find the GCD of the elements which have prime frequencies in the array. Note… Read More »

Given an array arr[] of N non-zero positive integers and an integer K, the task is to find the XOR of the K largest prime… Read More »

Given an array arr[] of N positive integers, the task is to calculate the absolute difference between XOR of non-prime numbers and prime numbers. Note… Read More »

Given an array of positive numbers, the task is to find the bitwise AND of the sum of non-prime numbers and the sum of prime… Read More »

Given a binary tree, the task is to find the sum of the nodes which are visible in the left view. The left view of… Read More »

Given an array arr[] of N elements, the task is to find the xor of the elements which have prime frequencies in the array. Note… Read More »

Given a binary tree, the task is to find the sum of the nodes which are visible in the right view. The right view of… Read More »

Given a string S consisting of lowercase characters, you have to delete the minimum number of characters from S so that every letter in S… Read More »

Given a string str containing only lowercase characters. The task is to print the characters having prime frequency in the order of their occurrence. Note… Read More »

Given an array arr[] of N elements, the task is to find the product of the elements which have prime frequencies in the array. Since,… Read More »