data-structure-and-algorithms-guidebook
data-structure-and-algorithms-guidebook copied to clipboard
BF 算法中的 for 循环写法有误。
https://tsejx.github.io/data-structure-and-algorithms-guidebook/algorithms/search/bf/
4 if (s[i] === j[i]) {
应该是 s[i] === p[j]