An O(ND) dierence algorithm and its variations, Algorithmica 1 (1986)

by E W Myers