Select unique song from list of songs.

  • 0

    You are given a list of songs and you have to select a random song and play it, but the condition was that you can not play a song twice.Consider there is a function play() which takes song as parameter and plays it.

Log in to reply

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.