CodingReported in a candidate post, May 2021
Shuffle Songs Randomly Without Repeats
Filed under OLA
The question
Given a list of songs, shuffle them randomly such that no song repeats. The follow-up requires doing this in constant space.
No write-up yet. Related questions below have one.
Related OLA questions
Collected from public candidate posts and coding forums. Updated Nov 2026.