Problem 1486 · Easy

XOR Operation in an Array

Compute the XOR of n values, where each value is start plus twice its index. The visual lists the values and folds them into a running XOR.

Open the interactive visualisation