Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: trekhleb/javascript-algorithms
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 47d79d7968f5c9f0231f1aa9720e839bbea5332e
Choose a base ref
..
head repository: trekhleb/javascript-algorithms
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: bcaf3ef96766cbb7894494595bbc943e46fa4ea1
Choose a head ref
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/data-structures/linked-list/README.md
4 changes: 2 additions & 2 deletions src/data-structures/linked-list/README.md
Original file line number Diff line number Diff line change
@@ -76,10 +76,10 @@ Remove(head, value)
end if
return true
end if
while n.next = ø and n.next.value = value
while n.next != ø and n.next.value != value
n ← n.next
end while
if n.next = ø
if n.next != ø
if n.next = tail
tail ← n
end if