Example Program
Longest Common Subsequence
Longest common subsequence code example
File "graph_algo_lcs.cpp"
A tutorial about the longest common subsequence algorithm.
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 |
Create two sequences
8 | |
9 | |
10 | |
11 | |
12 | |
13 | |
14 |
Compute the longest common subsequence
15 | |
16 | |
17 | |
18 |
SeqAn - Sequence Analysis Library - www.seqan.de