Near-Optimal Dynamic Time Warping on Run-Length Encoded Strings
arXiv:2302.06252
Abstract
We give an time algorithm for computing the exact Dynamic Time Warping distance between two strings whose run-length encoding is of size at most . This matches (up to log factors) the known (conditional) lower bound, and should be compared with the previous fastest time exact algorithm and the time approximation algorithm.