Skip to content

doubly linked list: add dataclass and typing #12647

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Apr 1, 2025
Prev Previous commit
Next Next commit
Update doubly_linked_list_two.py
  • Loading branch information
MaximSmolskiy authored Apr 1, 2025
commit 7a62b87399f647cc143d081f31c2f31a1e45c419
1 change: 0 additions & 1 deletion data_structures/linked_list/doubly_linked_list_two.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ def set_tail(self, node: Node) -> None:
if self.head is None:
self.set_head(node)
else:
assert self.tail
self.insert_after_node(self.tail, node)

def insert(self, value: int) -> None:
Expand Down
Loading