shubham7668 / hacktober

MIT License
45 stars 133 forks source link

Longest Common Subsequence #233

Open harshit-3103 opened 1 year ago

harshit-3103 commented 1 year ago

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.