StringAlgorithmsLongestCommonSubsequence Method |
It differs from problems of finding common substrings: unlike substrings, subsequences are not required to occupy consecutive positions within the original sequences.
LongestCommonSubsequence("BLUB","aBcLeUgBh") = 4 LongestCommonSubsequence("aBcLeUgBh","BLUB") = 4
LongestCommonSubsequence("BLUB","aBcLeUg") = 3 LongestCommonSubsequence("aBcLeUg","BLUB") = 3
Namespace: DHI.Mike1D.Generic
[Missing <param name="s"/> documentation for "M:DHI.Mike1D.Generic.StringAlgorithms.LongestCommonSubsequence(System.String,System.String)"]
[Missing <param name="t"/> documentation for "M:DHI.Mike1D.Generic.StringAlgorithms.LongestCommonSubsequence(System.String,System.String)"]
[Missing <returns> documentation for "M:DHI.Mike1D.Generic.StringAlgorithms.LongestCommonSubsequence(System.String,System.String)"]