Mind the Gap
Amihood Amir, Tsvi Kopelowitz, Avivit Levy, Seth Pettie, Ely Porat, B., Riva Shalom

TL;DR
This paper explores the complexity of online Dictionary Matching with One Gap, establishing conditional lower bounds based on the 3SUM conjecture and presenting algorithms with efficiency tied to graph degeneracy.
Contribution
It introduces a novel reduction path from 3SUM to DMOG using vertex-triangle queries and provides algorithms with complexity proportional to graph degeneracy.
Findings
Conditional lower bound of Ω(δ(G_D)+op) time per character
Algorithms with linear dependence on δ(G_D) for online DMOG
Matching upper bounds for vertex-triangle problem
Abstract
We examine the complexity of the online Dictionary Matching with One Gap Problem (DMOG) which is the following. Preprocess a dictionary of patterns, where each pattern contains a special gap symbol that can match any string, so that given a text that arrives online, a character at a time, we can report all of the patterns from that are suffixes of the text that has arrived so far, before the next character arrives. In more general versions the gap symbols are associated with bounds determining the possible lengths of matching strings. Finding efficient algorithmic solutions for (online) DMOG has proven to be a difficult algorithmic challenge. We demonstrate that the difficulty in obtaining efficient solutions for the DMOG problem even, in the offline setting, can be traced back to the infamous 3SUM conjecture. Interestingly, our reduction deviates from the known reduction…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAlgorithms and Data Compression · Optimization and Search Problems · Complexity and Algorithms in Graphs
