Problem 3877 · Medium

Minimum Removals to Achieve Target XOR

Keep the largest subset whose XOR equals the target; every other element is removed.

Open the interactive visualisation