I believe the name of this function is miss-leading. The Longest Common Substring for the example given is "is very common". Also.... LCS I believe should return the string minus characters. For example, the LCS of [1, 2, 3, 4] and [1, 2, 2, 4] is [1, 2, 4]. This function only returns [1, 2].
I believe the name of this function is miss-leading. The Longest Common Substring for the example given is "is very common". Also.... LCS I believe should return the string minus characters. For example, the LCS of [1, 2, 3, 4] and [1, 2, 2, 4] is [1, 2, 4]. This function only returns [1, 2].
Comment only