-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Manacher's Algorithm #11
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well done! I like your raising error operations. Very clear comments, but just a few suggestions.
Co-authored-by: Satin Wuker <[email protected]>
@SatinWuker Is it working on your side? |
It works really well 👍👍👍 thank you for your clear explanation and helpful comment on the file haha! |
As one may notice, I compute the indexes whenever I ask for the length and the string. |
Do you still require the variable name changes or would you like to approve the pull request? |
Manacher's Algorithm finds the longest palindromic factor (substring) in linear time in the length of the string input.