Problem 2425 · Medium

Bitwise XOR of All Pairings

Each value of one array is paired with every value of the other, so a value survives the xor only when the other array has an odd length.

Open the interactive visualisation