mirror of
https://github.moeyy.xyz/https://github.com/trekhleb/javascript-algorithms.git
synced 2024-12-25 22:46:20 +08:00
Add missing step (#345)
This commit is contained in:
parent
521e0a9bbd
commit
fa1f930c99
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user