Given an array arr[] consisting of N integers, the task is to find the maximum Bitwise XOR of Bitwise OR of every subarray after splitting… Read More

# Tag Archives: partition

Given a binary string, S of size N, the task is to check if it is possible to partition the string into disjoint subsequences equal… Read More

Given an array A[] of size N and an integer diff, the task is to count the number of ways to split the array into… Read More

Given a linked list consisting of N nodes and an integer K, the task is to split the given Linked List into K continuous groups… Read More

Given an array arr[] consisting of N integers, the task is to print the smaller of the two subsets obtained by splitting the array into… Read More

Given an array arr[] consisting of N integers and an integer K, the task is to find the maximum number of disjoint subsets that the… Read More

Given two arrays arr[] and S[] consisting of N and K integers, the task is to find the maximum sum of minimum and maximum of… Read More

Given a string S consisting of N lowercase alphabets, the task is to check if it is possible to split the string S into three… Read More

Given a string S consisting of N lowercase alphabets, the task is to check if all the strings of at least length 2 formed by… Read More

Given a positive even number N, the task is to split the first N powers of 2 into two equal sequences such that the absolute… Read More