mirror of
https://github.com/trekhleb/javascript-algorithms.git
synced 2025-07-04 16:12:09 +08:00
Add missing step (#345)
This commit is contained in:
@ -102,6 +102,7 @@ Remove(head, value)
|
||||
if n.next != ø
|
||||
if n.next = tail
|
||||
tail ← n
|
||||
tail.next = null
|
||||
end if
|
||||
n.next ← n.next.next
|
||||
return true
|
||||
|
Reference in New Issue
Block a user