Recently got this problem in an OA, couldn't solve.

Правка en1, от deepak_prakash, 2023-10-12 19:42:29

Hey, I recently got this problem in an online assessment.

Count number of subarrays such that, xor of first and last element of subarray should be equal to xor of remaining elements in the subarray. And the minimum size of subarray in consideration would be greater than equal to 3.

Thanks

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский deepak_prakash 2023-10-12 19:42:29 347 Initial revision (published)