You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
371 B

  1. Algorithm test
  2. ===
  3. Nathan's version of BM search.
  4. ### Usage
  5. ```bash
  6. $ python3 -m pip install pipenv
  7. # Use virtualenv
  8. $ PIPENV_VENV_IN_PROJECT=true pipenv shell
  9. $ pipenv install --dev
  10. ```
  11. - Unittest
  12. ```bash
  13. $ pipenv run unittest
  14. ```
  15. ### References
  16. - [Boyer-Moore string-search algorithm](https://en.wikipedia.org/wiki/Boyer%E2%80%93Moore_string-search_algorithm)