## Difference between Bloom filters and Hashtable

HashTable: Hashtable is designed to use a special function called the Hash function which is used to map a given value with a particular key for… Read More »

- Print characters and their frequencies in order of occurrence using a LinkedHashMap in Java
- 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
- Print characters having even frequencies in order of occurrence
- Program to parse the Molecules and get the Atoms count
- 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

HashTable: Hashtable is designed to use a special function called the Hash function which is used to map a given value with a particular key for… Read More »

Given two strings str and str1, the task is to check whether one string can be converted to other by using the following operation: Convert… Read More »

Given a space-separated string str, the task is to find the first substring whose reverse is a word in the string. All characters of the… Read More »

Given an array arr[] consisting of even integers. At each move, you can select any even number X from the array and divide all the… Read More »

Given an array arr of N elements, the task is to find the length of the smallest subarray of the given array that contains at… Read More »

Given an array arr[] of N positive elements, the task is to find a pair in the array such that the digit sum of elements… Read More »

Given a string str consisting of alphanumeric characters, the task is to check whether the string contains all the digits from 1 to 9. Examples:… Read More »

Given a string str consisting of lowercase English alphabets. The task is to change each character of the string with the next letter (in a… Read More »

Given a dictionary, and two words start and target (both of the same length). Find length of the smallest chain from start to target if… Read More »

Given a string S of length N containing only lower case letters. Also, given Q queries where each query consists of an integer P such… Read More »

Given an array arr. The task is to divide the array into the minimum number of subarrays containing unique elements and return the count of… Read More »

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 »