OpenGenus/cosmos

Add longest palindromic sequence solution in any language

Open

#1,319 opened on Oct 12, 2017

View on GitHub
 (5 comments) (0 reactions) (0 assignees)C++ (3,724 forks)batch import
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.

Contributor guide