Skip to content

Commit fa1f930

Browse files
Add missing step (trekhleb#345)
1 parent 521e0a9 commit fa1f930

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎src/data-structures/linked-list/README.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ Remove(head, value)
102102
if n.next != ø
103103
if n.next = tail
104104
tail ← n
105+
tail.next = null
105106
end if
106107
n.next ← n.next.next
107108
return true

0 commit comments

Comments
 (0)