mirror of
https://github.moeyy.xyz/https://github.com/trekhleb/javascript-algorithms.git
synced 2024-09-20 07:43:04 +08:00
fix: 0->ø (#486)
This commit is contained in:
parent
95641c8aaf
commit
2444b9740b
@ -101,7 +101,7 @@ Traverse(head)
|
||||
Pre: head is the head node in the list
|
||||
Post: the items in the list have been traversed
|
||||
n ← head
|
||||
while n != 0
|
||||
while n != ø
|
||||
yield n.value
|
||||
n ← n.next
|
||||
end while
|
||||
|
Loading…
Reference in New Issue
Block a user