Skip to content

Commit 767cbf3

Browse files
Update doubly_linked_list_two.py
1 parent c5bd636 commit 767cbf3

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

Diff for: data_structures/linked_list/doubly_linked_list_two.py

-9
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,6 @@ class Node:
2222
def __str__(self) -> str:
2323
return f"{self.data}"
2424

25-
def get_data(self) -> int:
26-
return self.data
27-
28-
def get_next(self):
29-
return self.next
30-
31-
def get_previous(self):
32-
return self.previous
33-
3425

3526
class LinkedListIterator:
3627
def __init__(self, head):

0 commit comments

Comments
 (0)