正在加载……
← 返回 amazon 的题目列表
Random Playlist Generator with Constraints
类型:online_judge
Design a playlist class with a function to play a random song and ensure no repetition within the last N songs. Example Input songs=['A', 'B', 'C', 'D'], N=2