Problem 3277 · Hard

Maximum XOR Score Subarray Queries

For each query range, find the largest XOR score among the subarrays inside it. A subarray's score is what remains after repeatedly replacing it with the XORs of its neighboring pairs until one value is left.

Open the interactive visualisation