Problem 1929 · Easy

Concatenation of Array

Build an array of length twice the original by appending a second copy of it. The visual shows the original row duplicated beside itself with arrows linking each index to its twin.

Open the interactive visualisation