Loading...
Searching...
No Matches
Program to find the Longest Palindormic Subsequence of a string. More...
#include <cassert>
#include <string>
#include <vector>
Go to the source code of this file.
std::string dynamic_programming::lps (const std::string &a) Function that returns the longest palindromic subsequence of a string.Program to find the Longest Palindormic Subsequence of a string.
Palindrome string sequence of characters which reads the same backward as forward Subsequence is a sequence that can be derived from another sequence by deleting some or no elements without changing the order of the remaining elements.
Definition in file longest_palindromic_subsequence.cpp.
◆ main() ◆ test()Self-test implementations.
Definition at line 86 of file longest_palindromic_subsequence.cpp.
86 {
91}
std::string lps(const std::string &a)
Function that returns the longest palindromic subsequence of a string.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4