Design a Song Playlist with Add/Remove Functions
Implement a song playlist data structure with methods to add and remove songs from the playlist.
Asked at:
Amazon
Bloomberg
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
Early August, 2026
Senior
We have been given a songs played for each user, and we will get a query that for each user we need to recommend a song, if user is listenning to the songs that are all in the other user playlist, so their other songs can be recommended to the other user.
Early February, 2026
Senior
Write code to create song playlist with functions to add and remove songs from playlist
Hello Interview Premium
Your account is free and you can post anonymously if you choose.