NetflixCoding·60 minMembers
Music Playlist History
Members only
Design a MusicPlaylist storing (song, timestamp) plays: add, getAll sorted by timestamp (ties by insertion order), remove a single record, and removeAll records of a song.
SWE
data-structure
hashmap
sorting
object-design
medium
Frequency
Single report
Last asked
2026-01-26
Stage
phone-screen · onsite-coding
Log in to continue reading the full content
Comments
Sign in to join the discussion
Loading...
