Given two strings, return the length of their longest common subsequence (LCS).
text1 = "abcde", text2 = "ace"
3
text1 = "abc", text2 = "def"
0