Computing the Number of Longest Common Subsequences
Ronald I. Greenberg·2003-01-30·via cs.DS updates on arXiv.org
This note provides very simple, efficient algorithms for computing the number of distinct longest common subsequences of two input strings and for computing the number of LCS embeddings.