mirror of
https://github.moeyy.xyz/https://github.com/trekhleb/javascript-algorithms.git
synced 2024-12-26 07:01:18 +08:00
parent
9111568fc0
commit
5667cfb550
@ -61,7 +61,8 @@ end Contains
|
||||
```text
|
||||
Remove(head, value)
|
||||
Pre: head is the head node in the list
|
||||
Post: value is the value to remove from the list, true, otherwise false
|
||||
value is the value to remove from the list
|
||||
Post: value is removed from the list, true, otherwise false
|
||||
if head = ø
|
||||
return false
|
||||
end if
|
||||
|
Loading…
Reference in New Issue
Block a user