Skip to content
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 #586

Open
asmit27rai opened this issue Mar 1, 2025 · 1 comment · May be fixed by #587
Open

Manacher's Algorithm #586

asmit27rai opened this issue Mar 1, 2025 · 1 comment · May be fixed by #587

Comments

@asmit27rai
Copy link

asmit27rai commented Mar 1, 2025

Issue: Implement Manacher's Algorithm

Description

Manacher's algorithm is used to find the longest palindromic substring in a given string in linear time. It is an optimized version of the naive approach and is widely used in string processing tasks. This algorithm is particularly useful in problems where you need to find the longest palindrome in a string, such as in text analysis and computational biology.

Proposed Implementation

The implementation should include:

  1. A function manacher(text: str) -> str that returns the longest palindromic substring in the input string text.
  2. Proper documentation and examples demonstrating the usage of the function.
@asmit27rai asmit27rai changed the title Kruskal's Algorithm for Minimum Spanning Tree (MST) Rabin-Karp Algorithm Mar 1, 2025
@asmit27rai
Copy link
Author

@Kishan-Ved I am working on this issue..

@asmit27rai asmit27rai changed the title Rabin-Karp Algorithm Manacher's Algorithm Mar 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant