From f617fd33ec34bd5305ff16f4c2e92bb87a4b22d5 Mon Sep 17 00:00:00 2001 From: Brendan Chen Date: Wed, 11 Feb 2026 20:51:37 +0000 Subject: [PATCH] Add YouTube playlists assignment --- shared/assignments/youtube-playlists.md | 30 +++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 shared/assignments/youtube-playlists.md diff --git a/shared/assignments/youtube-playlists.md b/shared/assignments/youtube-playlists.md new file mode 100644 index 0000000..7bee0e8 --- /dev/null +++ b/shared/assignments/youtube-playlists.md @@ -0,0 +1,30 @@ +You will be re-creating the YouTube playlist system using an interactive Python command-line program. + +## Requirements + +On program startup, it should populate with a bunch of playlists. Then, the user should be able to interact with them. + +User should be able to: + +- From the home page, pick and play a playlist + - Starts playing a video from the beginning of the playlist +- From a video, skip to the next video +- From a video, go back to the previous video +- From a video, exit and go back to the home view + +Required data structures: + +- `Playlist` + - Should be a linked list (store the head and tail nodes) + - Should offer linked list methods + - Maybe something like `getFront` +- `Video` + - The node object in a linked list + - Must store references to the next video and the previous one + - Stores other video information, such as title, description, and playback time in seconds + +## Submitting + +Create a .zip file and email it to me at bchendev@icloud.com. + +You may reference online sources, but must include them in a README file. \ No newline at end of file