Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 59af78f

Browse files
committedDec 2, 2020
fixed error in doubly linked list
1 parent a6d0f3d commit 59af78f

File tree

1 file changed

+1
-0
lines changed
  • linked-lists/doubly-linked-list

1 file changed

+1
-0
lines changed
 

‎linked-lists/doubly-linked-list/list.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ def print_all(self):
1313
tmp: Node = self.head
1414
while tmp is not None:
1515
print(tmp.key, end=", ")
16+
tmp = tmp.next
1617
print("")
1718

1819
def number_of_elements(self) -> int:

0 commit comments

Comments
 (0)
Please sign in to comment.