Skip to content

Added C++ Implementation #27

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 1 commit into from
Oct 8, 2021
Merged

Conversation

pratikgl
Copy link
Contributor

@pratikgl pratikgl commented Oct 5, 2021

I have added C++ Implementation for Longest Palindromic Substring problem. My approach is based on dynamic programming and the time complexity is O(N^2).

@pratikgl
Copy link
Contributor Author

pratikgl commented Oct 5, 2021

I just noticed you've implemented Manacher's Algorithm O(N) for this problem here. Should I also implement that in C++ or is O(N^2) fine?

@begeekmyfriend begeekmyfriend merged commit 1270d7c into begeekmyfriend:master Oct 8, 2021
@begeekmyfriend
Copy link
Owner

That is a very specific problem and the skill seems somewhat rare. Still your solution is all right for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants