Skip to content

Commit 1992b41

Browse files
BoyerMoore.js| Final Fix :(
Hopefully! 12 commits to add an algorithm.
1 parent 9181bde commit 1992b41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

String/BoyerMoore.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const boyerMoore = (str, pattern) => {
4141
// increase the offset if it exists
4242
offset += badMatchTable[badMatchString]
4343
} else {
44-
offset ++
44+
offset++
4545
}
4646
}
4747
return -1

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy