We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1f31cd commit 20497bbCopy full SHA for 20497bb
src/data-structures/linked-list/README.md
@@ -46,7 +46,7 @@ Contains(head, value)
46
value is the value to search for
47
Post: the item is either in the linked list, true; otherwise false
48
n ← head
49
- while n = ø and n.value = value
+ while n != ø and n.value != value
50
n ← n.next
51
end while
52
if n = ø
0 commit comments