You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: strings/boyer_moore.cpp
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
/**
2
2
* @file
3
3
* @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
5
5
* performing explicit character comparisons at different alignments. Instead of
6
6
* a brute-force search of all alignments (of which there are n - m + 1),
7
7
* Boyer–Moore uses information gained by preprocessing P to skip as many
0 commit comments