## Number of ways to erase exactly one element in the Binary Array to make XOR zero

Given a binary array of 0’s and 1’s, the task is to find the number of ways to erase exactly one element from this array… Read More »

- Find maximum xor of k elements in an array
- Find XOR of numbers from the range [L, R]
- Equal Sum and XOR of three Numbers
- Quadruplet pair with XOR zero in the given Array
- Nth XOR Fibonacci number
- Minimum Bitwise XOR operations to make any two array elements equal
- Alternate XOR operations on sorted array
- Queries to check whether all the elements in the given range occurs even number of times
- Find a number which give minimum sum when XOR with every number of array of integers
- Find a sub matrix with maximum XOR
- Find array such that no subarray has xor zero or Y
- Sum of XOR of all sub-arrays of length K
- Choose X such that (A xor X) + (B xor X) is minimized
- Longest Subarray having strictly positive XOR
- Minimizing array sum by applying XOR operation on all elements of the array
- Maximum XOR of Two Numbers in an Array
- Count of elements which are equal to the XOR of the next two elements
- Find a partition point in array to maximize its xor sum
- Minimum given operations required to convert a given binary string to all 1's
- Print steps to make a number in form of 2^X - 1
- XOR in a range of a binary array
- Create a sequence whose XOR of elements is y
- Convert given integer X to the form 2^N - 1
- XOR of all the nodes in the sub-tree of the given node
- Total pairs in an array such that the bitwise AND, bitwise OR and bitwise XOR of LSB is 1
- Find number of subarrays with XOR value a power of 2
- Find an N x N grid whose xor of every row and column is equal
- Find the node whose xor with x gives minimum value
- Maximize the Expression | Bit Manipulation
- XOR of elements in an array having prime frequency

Given a binary array of 0’s and 1’s, the task is to find the number of ways to erase exactly one element from this array… Read More »

Given two positive integers A and B. Let’s define D such that B AND D = D. The task is to maximize the expression A… Read More »

Given an array arr[] of N elements, the task is to find the XOR of the elements which appear odd number of times in the… Read More »

Given an array arr[] of N non-zero positive integers and an integer K, the task is to find the XOR of the K largest prime… Read More »

Given an array arr[] of n elements. The task is to find the count of elements which are equal to the XOR of the next… Read More »

Given an array arr[] of N positive integers, the task is to calculate the absolute difference between XOR of non-prime numbers and prime numbers. Note… Read More »

Given an array arr[] containing N integers and there are Q queries where each query consists of a range [L, R]. The task is to… Read More »

Given an array arr[] of N elements, the task is to find the xor of the elements which have prime frequencies in the array. Note… Read More »

Given an integer array, arr[] of size N. The XOR value of any subarray of arr[] is defined as the xor of all the integers… Read More »

Given an array arr[] of N elements, the task is to check if the array has an element which is equal to the XOR of… Read More »

Given a positive integer N, the task is to find the XOR of the first N prime numbers. Examples: Input: N = 3 Output: 4… Read More »

Given a binary number as a string str of length L. The task is to find the minimum number of operations needed so that the… Read More »

Given an integer N which is a multiple of 4, the task is to find an N x N grid for which the bitwise xor… Read More »

Given an array Arr of non-negative integers of size N. The task is to find the maximum possible xor between two numbers present in the… Read More »