Given string str, the task is to find the minimum count of characters that need to be deleted from the string such that the frequency… Read More

# Tag Archives: cpp-unordered_map

Given an array arr[] consisting of N strings, the task is to modify the array by replacing the duplicate strings by appending ay number such… Read More

Given a strings S length N consisting of only ‘a’, ‘b’ and ‘c’. The task is to check if it is possible to permute the… Read More

Given two arrays X[] and Y[] consisting of N and M integers such that there are N lines parallel to the y-axis and M lines… Read More

Given two integers L, R, and an integer K, the task is to print all the pairs of Prime Numbers from the given range whose… Read More

Given an array arr[] of size N and an integer S, the task is to find the count of quadruplets present in the given array… Read More

Given a Binary Tree consisting of N nodes rooted at 1, an integer K and an array arr[] consisting of values assigned to each node,… Read More

Given two arrays X[] and Y[] consisting of N and M integers such that there are N lines parallel to the y-axis and M lines… Read More

Given an array arr[] of N integers along with integers M, L, R. Consider a variable S(initially 0). The task is to find the maximum… Read More