Problem 384 · Medium

Shuffle an Array

Randomize array in-place using Fisher-Yates shuffle algorithm.

Open the interactive visualisation