chore: remove repetitive words

Signed-off-by: mountdisk <mountdisk@icloud.com.>
This commit is contained in:
mountdisk 2024-08-16 21:34:52 +08:00
parent ca3d16dcce
commit 08130dd3d8
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ n * (n-1) * (n -2) * ... * 1 = n!
## Permutations with repetitions
When repetition is allowed we have permutations with repetitions.
For example the the lock below: it could be `333`.
For example the lock below: it could be `333`.
![Permutation Lock](https://www.mathsisfun.com/combinatorics/images/combination-lock.jpg)

View File

@ -48,7 +48,7 @@ function buildZArray(zString) {
}
// Now we may calculate how many characters starting from current position
// are are the same as the prefix. We may calculate it by difference between
// are the same as the prefix. We may calculate it by difference between
// right and left Z box boundaries.
zArray[charIndex] = zBoxRightIndex - zBoxLeftIndex;