Skip to content

Shaving Two Logs for Discrete and Continuous Fréchet Distance

Timothy M Chan, Isaac M Hair

cs.CGarXiv:2610.16360

Abstract

We revisit the classical computational geometry problem of computing the exact (discrete or continuous) Fréchet distance between two given polygonal curves with n vertices in a constant dimension d. 1. We present an O((n2/2n)2 n)-time deterministic algorithm for the discrete Fréchet distance problem, improving the previous O((n2/ n) n) result by Agarwal, Ben Avraham, Kaplan, and Sharir [SODA'13]. 2. We present an O((n2/2n)2 n)-time deterministic algorithm for the decision version of the continuous Fréchet distance problem, improving the previous O((n2/ n)2 n) result by Buchin, Buchin, Meulemans, and Mulzer [SODA'14] and the recent O(n2/1+μn) randomized result by Cheng and Huang [SODA'25] for a small unspecified constant μ>0 (which converges to 0 as d increases). 3. Finally, we present an O((n2/2 n)O(1) n)-time Las Vegas randomized algorithm for the continuous Fréchet distance problem, improving the previous O(n22 n) randomized result by Buchin, Buchin, Meulemans, and Mulzer [SODA'14] and the recent O(n2/μn)-time randomized result claimed by Cheng and Huang [SODA'25]. Since these problems have near-quadratic OV-based conditional lower bounds and shaving of two log factors is the best that is known for similar, simpler problems such as longest common subsequence and edit distance, our results reach the natural limit of the current state of the art (up to factors).

Create a lesson