Add missing step (#345)

This commit is contained in:
Brandon Villa 2020-12-20 13:05:18 -06:00 committed by GitHub
parent 521e0a9bbd
commit fa1f930c99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -102,6 +102,7 @@ Remove(head, value)
if n.next != ø if n.next != ø
if n.next = tail if n.next = tail
tail ← n tail ← n
tail.next = null
end if end if
n.next ← n.next.next n.next ← n.next.next
return true return true