mirror of
https://github.com/trekhleb/javascript-algorithms.git
synced 2025-12-08 19:06:00 +00: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
|
Pre: head is the head node in the list
|
||||||
Post: the items in the list have been traversed
|
Post: the items in the list have been traversed
|
||||||
n ← head
|
n ← head
|
||||||
while n != 0
|
while n != ø
|
||||||
yield n.value
|
yield n.value
|
||||||
n ← n.next
|
n ← n.next
|
||||||
end while
|
end while
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user