Skip to content

Add doctests for the boyer_moore_search algorithm. #12769

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jun 2, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 2, 2025
commit c97cf7afcbad0bcd853770c78820e0dd34c68a24
1 change: 1 addition & 0 deletions strings/boyer_moore_search.py
Original file line number Diff line number Diff line change
@@ -18,6 +18,7 @@
m=length of pattern string
"""


class BoyerMooreSearch:
"""
Example usage: