Problem 1470 · Easy

Shuffle the Array

Rebuild a shuffled array by interleaving values from its first and second halves. The visual pairs each value from the two halves and places it in the output.

Open the interactive visualisation