## Find the largest after deleting the given elements

Given an array of integers, find the largest number after deleting the given elements. In case of repeating elements, delete one instance for every instance… Read More »

- 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
- Extendible Hashing (Dynamic approach to DBMS)
- Count number of pairs in array having sum divisible by K | SET 2
- What are Hash Functions and How to choose a good Hash Function?
- Minimum deletions required to make frequency of each letter unique
- Sum of nodes in the left view of the given binary tree
- Check duplicates in a stream of strings
- Find missing elements from an Array
- 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
- Program to parse the Molecules and get the Atoms count
- Longest subsequence with at least one character appearing in every string
- XOR of elements in an array having prime frequency
- Sum of nodes in the right view of the given binary tree
- Triangle of numbers arising from Gilbreath's conjecture
- XOR of K smallest prime and composite numbers from the given array
- Bitwise AND of the sum of prime numbers and the sum of composite numbers in an array
- Absolute difference between the XOR of Non-Prime numbers and Prime numbers of an Array
- Print characters having prime frequencies in order of occurrence
- Count equal element pairs in the given array
- Number of distinct pair of edges such that it partitions both trees into same subsets of nodes
- Product of elements in an array having prime frequency
- GCD of elements which occur prime number of times
- Print the season name of the year based on the month number
- Area of the largest square that can be formed from the given length sticks using Hashing
- Check if two Integer are anagrams of each other
- XOR of K largest prime and composite numbers from the given array

Given an array of integers, find the largest number after deleting the given elements. In case of repeating elements, delete one instance for every instance… Read More »

Given a strictly increasing array A of positive integers where, . The task is to find the length of the longest Fibonacci-like subsequence of A.… Read More »

Given a string of lowercase letters, reduce it by removing the characters which appears more than k times in the string. Examples: Input : str… Read More »

Given an integer array, if any integer is repeating then replace it with a number greater than that number which has not been inserted yet… Read More »

Given an unsorted array of integers. The task is to find any two non-overlapping pairs whose sum is equal. Two pairs are said to be… Read More »

Given an array A of N integers. An anomaly is a number for which the absolute difference between it and every other number in the… Read More »

Given a string ‘str’ and an integer ‘k’, the task is to reduce the string by applying the following operation: Choose a group of ‘k’… Read More »

Given a sorted doubly linked list of distinct nodes(no two nodes have the same data) and a value x. The task is to count the… Read More »

Given a positive number ‘N’, the task is to find whether ‘N’ is balanced or not. Output ‘YES’ if ‘N’ is a balanced number else… Read More »

Given a linked list, and a product K. The task is to check if there exist two numbers in the linked list whose product is… Read More »

Given an array of integers and an integer ‘k’, the task is to find the largest element from the array that is repeated exactly ‘k’… Read More »

Given a string ‘str’, the task is to remove all the characters from the string that have even frequencies. Examples: Input: str = “aabbbddeeecc” Output:… Read More »

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

Given a linked list containing duplicate elements. The task is to find the count of all minimum occurring elements in the given linked list. That… Read More »

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