Efficiently Testing Simon's Congruence

May 03, 2020 ยท The Ethereal ยท ๐Ÿ› Symposium on Theoretical Aspects of Computer Science

๐Ÿ”ฎ THE ETHEREAL: The Ethereal
Pure theory โ€” exists on a plane beyond code

"No code URL or promise found in abstract"

Evidence collected by the PWNC Scanner

Authors Pawel Gawrychowski, Maria Kosche, Tore Koss, Florin Manea, Stefan Siemer arXiv ID 2005.01112 Category cs.FL: Formal Languages Cross-listed cs.DS Citations 27 Venue Symposium on Theoretical Aspects of Computer Science Last Checked 1 month ago
Abstract
Simon's congruence $\sim_k$ is defined as follows: two words are $\sim_k$-equivalent if they have the same set of subsequences of length at most $k$. We propose an algorithm which computes, given two words $s$ and $t$, the largest $k$ for which $s\sim_k t$. Our algorithm runs in linear time $O(|s|+|t|)$ when the input words are over the integer alphabet $\{1,\ldots,|s|+|t|\}$ (or other alphabets which can be sorted in linear time). This approach leads to an optimal algorithm in the case of general alphabets as well. Our results are based on a novel combinatorial approach and a series of efficient data structures.
Community shame:
Not yet rated
Community Contributions

Found the code? Know the venue? Think something is wrong? Let us know!

๐Ÿ“œ Similar Papers

In the same crypt โ€” Formal Languages