Problem 268 · Easy

Missing Number

XOR all indices and values; paired values cancel, leaving the missing number.

Open the interactive visualisation