Longest common subsequence: Difference between revisions
Content deleted Content added
m Added citation for Claus Rick 2000 |
m Adjusted References, emphasizing the priority of Claus Rick. |
||
Line 389:
A binary search optimization due to Hunt and Szymanski can be applied in this case, which results in expected performance of O(n log m), given m <= n. In the worst case, performance degrades to O(m*n log m) time if the number of matches, and the space required to represent them, should grow to O(m*n).
'''References'''
Line 404:
by James W. Hunt and Thomas G. Szymanski, published May 1977<br />
Communications of the ACM [Volume 20, Number 5, pp. 350-353]
"Simple and fast linear space computation of longest common subsequences"<br />
|