hacktober
hacktober copied to clipboard
Longest Common Subsequence
Find the Longest Common Subsequence String Length by using dynamic programming. In the LCS function pass the both strings s and r. LCS function return the length of the longest common subsequence.