โ† OYO questions

Select random song from playlist without repetition

Filed under OYO

The question

How to select a random song from a given playlist without immediate repetition, avoiding worst-case O(infinity) scenarios where the same song is picked repeatedly?

No write-up yet. Related questions below have one.

Related OYO questions

Collected from public candidate posts and coding forums. Updated Nov 2026.