From "Longest Common Substring"
> p LCSLength('waaaa', 'bbbbasfaaewra') #returns 4
Visual inspection suggests the longest common substring is 'aa' which has length 2. What am I missing here?
Visual inspection suggests the longest common substring is 'aa' which has length 2. What am I missing here?
https://en.wikipedia.org/wiki/Longest_common_subsequence_pro...