mirror of
https://github.moeyy.xyz/https://github.com/trekhleb/javascript-algorithms.git
synced 2024-11-10 11:09:43 +08:00
[Fix] Capitalization issues of doubly linked list. (#282)
This commit is contained in:
parent
3064a7906b
commit
6261d0e9bb
@ -58,7 +58,7 @@ Remove(head, value)
|
||||
head ← ø
|
||||
tail ← ø
|
||||
else
|
||||
head ← head.Next
|
||||
head ← head.next
|
||||
head.previous ← ø
|
||||
end if
|
||||
return true
|
||||
|
@ -54,7 +54,7 @@ Remove(head, value)
|
||||
head ← ø
|
||||
tail ← ø
|
||||
else
|
||||
head ← head.Next
|
||||
head ← head.next
|
||||
head.previous ← ø
|
||||
end if
|
||||
return true
|
||||
|
@ -45,7 +45,7 @@ Remove(head, value)
|
||||
head ← ø
|
||||
tail ← ø
|
||||
else
|
||||
head ← head.Next
|
||||
head ← head.next
|
||||
head.previous ← ø
|
||||
end if
|
||||
return true
|
||||
|
Loading…
Reference in New Issue
Block a user