Skip to content

Commit c44bb91

Browse files
committed
Merge branch 'merge' of https://github.com/trekhleb/javascript-algorithms into merge
2 parents 86dea85 + e076203 commit c44bb91

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/algorithms/string/levenshtein-distance/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ to assist natural language translation based on translation memory.
5050

5151
Let’s take a simple example of finding minimum edit distance between
5252
strings `ME` and `MY`. Intuitively you already know that minimum edit distance
53-
here is `1` operation and this operation. And it is replacing `E` with `Y`. But
53+
here is `1` operation, which is replacing `E` with `Y`. But
5454
let’s try to formalize it in a form of the algorithm in order to be able to
5555
do more complex examples like transforming `Saturday` into `Sunday`.
5656

src/data-structures/bloom-filter/README.ru-RU.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
срабатываний фильтра.
2020

2121
Вот пример Блум фильтра, представляющего набор `{x, y, z}`. Цветные стрелки показывают позиции в битовом массиве,
22-
которым привязан каждый элемент набора. Элемент `w` не в набора `{x, y, z}`, потому что он привязан к позиции в битовом
22+
которым привязан каждый элемент набора. Элемент `w` не в наборе `{x, y, z}`, потому что он привязан к позиции в битовом
2323
массиве, равной `0`. Для этой формы , `m = 18`, а `k = 3`.
2424

2525
Фильтр Блума представляет собой битовый массив из `m` бит. Изначально, когда структура данных хранит пустое множество, все

src/data-structures/linked-list/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ Remove(head, value)
102102
if n.next != ø
103103
if n.next = tail
104104
tail ← n
105+
tail.next = null
105106
end if
106107
n.next ← n.next.next
107108
return true

0 commit comments

Comments
 (0)