Skip to content

Returning Index instead of boolean in knuth_morris_pratt (kmp) function, making it compatible with str.find(). #9083

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 12 commits into from
Sep 28, 2023

Update knuth_morris_pratt.py

c44b30b
Select commit
Loading
Failed to load commit list.
Merged

Returning Index instead of boolean in knuth_morris_pratt (kmp) function, making it compatible with str.find(). #9083

Update knuth_morris_pratt.py
c44b30b
Select commit
Loading
Failed to load commit list.

Workflow runs completed with no jobs