From 93f5702d5f8429689b3342a5f8e5fea3d61a43fd Mon Sep 17 00:00:00 2001 From: Brendan Chen Date: Wed, 13 May 2026 15:07:06 -0700 Subject: [PATCH] Update 2026.05.06 homework --- notes-and-examples/2026.05.06/homework.py | 8 ++++++++ notes-and-examples/2026.05.13/homework.py | 0 2 files changed, 8 insertions(+) create mode 100644 notes-and-examples/2026.05.13/homework.py diff --git a/notes-and-examples/2026.05.06/homework.py b/notes-and-examples/2026.05.06/homework.py index 2c127de..265dde7 100644 --- a/notes-and-examples/2026.05.06/homework.py +++ b/notes-and-examples/2026.05.06/homework.py @@ -4,6 +4,14 @@ class Student: self.year = year +class Node: + next = None + previous = None + + def __init__(self, student: Student): + self.student = student + + # homework: implement this Queue which orders students by year. # students with a higher year are placed in front of students with a lower year class Queue: diff --git a/notes-and-examples/2026.05.13/homework.py b/notes-and-examples/2026.05.13/homework.py new file mode 100644 index 0000000..e69de29