Find a K-length subarray having Bitwise XOR equal to that of remaining array elements
Given an array arr[] of size N, the task is to check if any subarray of size K exists in the array or not, whose Bitwise XOR is equal to the Bitwise XOR of the remaining array elements. If found to be true, then print "YES". Otherwise, print "NO". Examples: Input: arr[] = { 2, 3, 3, 5, 7, 7, 3, 4 },