Largest Non-Repeating Element
Given an array arr[] of size N, the task is to find the largest non-repeating element present in the given array. If no such element… Read More »
Given an array arr[] of size N, the task is to find the largest non-repeating element present in the given array. If no such element… Read More »
Given an array of strings arr[], consisting of strings made up of lowercase and uppercase letters, the task is to print all the strings from… Read More »
Given an array arr[] of size N, the task is to print the minimum count of equal length subsets the array can be partitioned into… Read More »
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 »
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 an array arr[] consisting of N integers, the task is to count the number of ways to split the array into two subarrays of… Read More »
Given an array arr[] consisting of N integers and an integer K, the task is to find the length of the longest subarray such that… Read More »
Given a matrix M[][] of dimensions N * M, the task is to find the most frequent element present in the matrix. If multiple elements… 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 integers and an integer K, the task is to find the length of the smallest subarray that needs to be… 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 an array arr[] of size N, the task is to find the number of subarrays having sum of its elements equal to the number… Read More »
Given an array arr[] of size N, the task is to count the number of subarrays from the given array, such that each distinct element… 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 »