Problem 3514 · Medium

Number of Unique XOR Triplets II

Collect the distinct pair XORs, then XOR each with every value to count the distinct triple XORs.

Open the interactive visualisation