Problem 3877 · Medium
Keep the largest subset whose XOR equals the target; every other element is removed.
Open the interactive visualisation