diff --git a/src/data-structures/linked-list/README.md b/src/data-structures/linked-list/README.md index b0e5eaf9..95fa7d66 100644 --- a/src/data-structures/linked-list/README.md +++ b/src/data-structures/linked-list/README.md @@ -46,7 +46,7 @@ Contains(head, value) value is the value to search for Post: the item is either in the linked list, true; otherwise false n ← head - while n = ø and n.value = value + while n != ø and n.value != value n ← n.next end while if n = ø