Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix bug, same bug
  • Loading branch information
doc-jones committed Nov 15, 2019
commit 98a0ac74832a06b0911e0f6cee97f91048820da3
2 changes: 1 addition & 1 deletion reverse/reverse.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def reverse_list(self):
current = self.head
while current:
next = current.next_node
current.next = prev
current.next_node = prev
prev = current
current = next
self.head = prev
Expand Down