# Tag Archives: partition

Given an array arr[] of size N, the task is to check if it is possible to split the array arr[] into different subsequences of… Read More
Given an array arr[] of size N, the task is to split the given array into a minimum number of subarrays such that elements of… Read More
Given an array arr[] of size N and a positive integer K, the task is to check if the array can be split into K… Read More
Given an array arr[] consisting of N distinct integers, the task is to find the minimum number of times the array needs to be split… Read More
Given an array arr[] of size N and a positive integer K, the task is to find the minimum possible cost to split the array… Read More
Given an array arr[] of length N and an integer K, the task is to count the number of pairs (i, j) such that i… Read More
Given an array arr[] consisting of N positive integers, the task is to minimize the remaining array element that can be obtained by repeatedly removing… Read More
Given an array arr[] consisting of N integers, the task is to count ways to split array into two subarrays of equal sum by changing… Read More
Given two strings a and b of the same length, the task is to check if splitting both the strings and concatenating their opposite substrings,… 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 an array arr[] consisting of N integers, the task is to find the maximum index K such that the product of subarrays {arr, arr[K]}… Read More
Given two sorted arrays, arr[], brr[] of size N, and M, the task is to merge the two given arrays such that they form a… Read More