Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shuffle Button Sometimes Repeats the song #102

Open
preadatorshek opened this issue Mar 24, 2020 · 1 comment
Open

Shuffle Button Sometimes Repeats the song #102

preadatorshek opened this issue Mar 24, 2020 · 1 comment

Comments

@preadatorshek
Copy link

No description provided.

@Aadityapburujwale
Copy link

Use HashSet

That song is playing insert it into HashSet.
Before Playing next random check it present in HashSet if not then add into HashSet and Play that song else play next random

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants