longest-common-subsequence 1.0.0
Longest Common Subsequence
Loading...
Searching...
No Matches
main.cpp File Reference
#include <bits/stdc++.h>
Include dependency graph for main.cpp:

Go to the source code of this file.

Data Structures

class  Solution
 

Functions

int main ()
 

Function Documentation

◆ main()

int main ( )

Definition at line 21 of file main.cpp.

22{
23 // string text1 = "bl";
24 // string text2 = "yby";
25 string text1 = "abcde";
26 string text2 = "ace";
27 cout << "output: " << Solution().longestCommonSubsequence(text1, text2) << endl;
28 return 0;
29}
int longestCommonSubsequence(string text1, string text2)
Definition main.cpp:8

References Solution::longestCommonSubsequence().