# Category Archives: Hash

Given a string S of lowercase English alphabets, the task is to find the minimum number of characters to be changed such that the left… Read More
Given a string S of lowercase English alphabets, the task is to find the minimum number of characters to be changed such that the left… Read More
Given two arrays with size n, maximize the first array by using the elements from the second array such that the new array formed contains… Read More
Given two arrays with size n, maximize the first array by using the elements from the second array such that the new array formed contains… Read More
Given two arrays with size n, maximize the first array by using the elements from the second array such that the new array formed contains… Read More
Given two arrays with size n, maximize the first array by using the elements from the second array such that the new array formed contains… Read More
Given an array arr of size N, and two integers A and B. The task is to find the length of the longest subsequence with… Read More
Given an integer array arr[] of size n with only three types of integers 0’s, 1’s, and 2’s. Find the minimum length of the subarray… Read More
Given an array arr[] of size N and an integer K., The task is to count the number of subarrays with unique sum with sum… Read More
Given an array of strings arr[], containing N strings, the task is to count the number of strings that do not contain both the uppercase… Read More
Given a pair of lowercase strings string1[] and string2[] of size M and N, the task is to decrypt these strings according to the following… Read More
Given an array arr[] and an integer K, the task is to find the numbers starting from 1 with sum at-most K excluding elements of… Read More
Given an array arr[] of positive integers of size N, and an integer K. The task is to minimize the number of operations required choose… Read More
Given numeric string str, the task is to find the minimum operations needed to make the string palindrome. An operation is defined as:  Select one… Read More
Given string str of size N, the task is to print the characters of string whose frequency is a power of K in a lexicographically… Read More