Problem 1528 · Easy

Shuffle String

Place each character at its destination index to rebuild the string. The visual draws arrows from each original slot to its new position.

Open the interactive visualisation