This commit is contained in:
@@ -8,17 +8,16 @@ class Stack:
|
||||
top: None | Node = None
|
||||
|
||||
def add(self, value):
|
||||
# Implement as an exercise
|
||||
pass
|
||||
|
||||
def remove(self) -> None | Node:
|
||||
# Implement as an exercise
|
||||
pass
|
||||
|
||||
def peek(self) -> None | Node:
|
||||
# Implement as an exercise
|
||||
pass
|
||||
|
||||
# Homework:
|
||||
# - Implement the other methods on the stack
|
||||
# - Implement linked list methods (see homework from 2026.01.28)
|
||||
#
|
||||
# Submit to me by creating a .zip file and sending to: me@bchen.dev
|
||||
|
||||
Reference in New Issue
Block a user