Files
homelab-dsa-tutoring/shared/assignments/youtube-playlists.md
Brendan Chen f617fd33ec
All checks were successful
Deploy to Homelab / deploy (push) Successful in 6s
Add YouTube playlists assignment
2026-02-11 20:51:37 +00:00

1.0 KiB

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.