Skip to content

Kmp algorithm #32

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

Closed
wants to merge 2 commits into from
Closed

Kmp algorithm #32

wants to merge 2 commits into from

Conversation

asaelr
Copy link

@asaelr asaelr commented Mar 3, 2022

Hi

I Implemented KMP algorithm (for pattern searching).
For the animation, I used red (tracer.patch) for the currently-compared chars, and blue (tracer.select) for the prefix of P and the substring of T that are known to be equal.

I think this simulation can help a lot of CS students, so I ask you to add it to the site.

Thanks

@asaelr
Copy link
Author

asaelr commented Mar 3, 2022

LOL. I didn't notice you already have KMP algorithm (under "dynamic programming")

@asaelr asaelr closed this Mar 3, 2022
@asaelr asaelr deleted the KMP branch March 3, 2022 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant