Boyer moore string matching algorithm Javascript implementation
My implementation for boyer moore algorithm, feel free to use it by giving me credit. You can learn more about the algorithm here: https://scholar.google.com/scholar?hl=en&as_sdt=0%2C5&q=boyer+moore+a+fast+string+searching+algorithm+1977
- node index.js
I modified Google's Chromium V8 Javascript unit test for indexOf function into jest, I leave the header intact. Here is the original V8's repository https://github.com/v8/v8 / https://chromium.googlesource.com/v8/v8.git
-
Install node modules
- npm install
-
Run the unit test
- npm run test