OpenGenus/cosmos
View on GitHubAdd longest palindromic sequence solution in any language
Open
#1,319 opened on Oct 12, 2017
Hacktoberfestadd codenew algorithm
Repository metrics
- Stars
- (13,462 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
Add the code for the longest palindromic sequence problem in any language.
Problem statement:
Given a string S, find the length of the longest subsequence of S that is a palindrome.
The code should be placed at code/dynamic_programming/longest_palindromic_sequence.
For contribution guidelines, see this.