Skip to content

Commit 5800dd8

Browse files
Update strings/boyer_moore.cpp
Co-authored-by: David Leal <[email protected]>
1 parent 611cfb4 commit 5800dd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

strings/boyer_moore.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @file
33
* @brief
4-
* The Boyer–Moore algorithm searches for occurrences of pattern P in text T by
4+
* The [Boyer–Moore](https://en.wikipedia.org/wiki/Boyer%E2%80%93Moore_string-search_algorithm) algorithm searches for occurrences of pattern P in text T by
55
* performing explicit character comparisons at different alignments. Instead of
66
* a brute-force search of all alignments (of which there are n - m + 1),
77
* Boyer–Moore uses information gained by preprocessing P to skip as many

0 commit comments

Comments
 (0)