Count the number of subarrays having a given XOR

Count the number of subarrays having a given XOR

indent preformatted text by 4 spaces

Need help in understanding this question. I have read the editorial on gfg but couldn’t understand.

3 Likes

watch this video you will get the intuition behind the problem

1 Like