Skip to content
RED SAG Skills
medium10 pts · first answer countsarraysprefix-sumsbit-manipulation

XOR of a range

X[0] = 0 and X[i] is the XOR of the first i elements. How do you get the XOR of elements l to r?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions