Given an array, arr[] of N positive integers and M queries which consist of two integers [Li, Ri] where 1 ≤ Li ≤ Ri ≤ N.… Read More
The post Count of subarrays in range [L, R] having XOR + 1 equal to XOR (XOR) 1 for M queries appeared first on GeeksforGeeks.