Given strings text1 and text2, return the length of their longest common subsequence (characters in order, not necessarily contiguous); 0 if none.
Input
text1text2Output: the LCS length.
abcde ace
3
"ace".
abc def
0
Run your code against the sample tests, or Submit to run the full suite.