Java icon indicating copy to clipboard operation
Java copied to clipboard

Create a new KMP Algorithm

Open MarcusCody opened this issue 3 years ago • 0 comments

An important issue in computer science is pattern searching. Pattern searching methods display the search results when we do a string search in a database, browser, or notepad/word file.

Describe your change:

  • [x] Add an algorithm?
  • [ ] Fix a bug or typo in an existing algorithm?
  • [ ] Documentation change?

References

Knuth–Morris–Pratt algorithm

Checklist:

  • [x] I have read CONTRIBUTING.md.
  • [x] I know that pull requests will not be merged if they fail the automated tests.
  • [x] This PR only changes one algorithm file. To ease review, please open separate PRs for separate algorithms.
  • [x] All new Java files are placed inside an existing directory.
  • [x] All filenames are in all uppercase characters with no spaces or dashes.
  • [x] All functions and variable names follow Java naming conventions.
  • [x] All new algorithms have a URL in its comments that points to Wikipedia or other similar explanation.

MarcusCody avatar Jul 30 '22 16:07 MarcusCody