The function LongestCommonSequence finds a longest common subsequence between 2 lists. Apparently, this built-in function does not accept more than 2 arguments. How can I find a longest common subsequence between 3 or more lists using Mathematica? Or, better yet, all longest common subsequences?
In a response to a "close as a duplicate" vote: This is not a duplicate of Longest common substring for multiple strings? beacuse that question is concerned with substrings (contiguous subsequences), but my question is concerned with arbitrary (not necessarily contiguous) subsequences.
"tea","aha"and"etc"are subsequences of"Mathematica"). A substring of $S$ is a prefix of a suffix of $S$ (e.g."them"is a substring of"Mathematica", because it is a prefix of its suffix"thematica"). Every substring is also a subsequence. – Vladimir Reshetnikov May 13 '16 at 22:46LongestCommonSequenceto 3 or more arguments, but you also want to generalize to a different definition of sequence? Please give a clear definition of terms and an example to work with. – george2079 May 14 '16 at 04:06