Given an array arr[] of size N, the task is to split the array into two subsets such that the Bitwise XOR between the maximum… Read More
Tag Archives: partition
Given an array A[] of size N and a positive integer K ( which will always be a factor of N), the task is to… Read More
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[] 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[] consisting of N positive integers, the task is to minimize the remaining array element that can be obtained by repeatedly removing… 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 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