中文
相关论文

相关论文: Online Algorithms for Constructing Linear-size Suf…

200 篇论文

We study the connections between sorting and the binary search tree (BST) model, with an aim towards showing that the fields are connected more deeply than is currently appreciated. While any BST can be used to sort by inserting the keys…

数据结构与算法 · 计算机科学 2023-05-08 Guy Blelloch , Magdalen Dobson

In this paper we study the structure of suffix trees. Given an unlabeled tree $\tau$ on $n$ nodes and suffix links of its internal nodes, we ask the question "Is $\tau$ a suffix tree?", i.e., is there a string $S$ whose suffix tree has the…

数据结构与算法 · 计算机科学 2014-09-02 Tatiana Starikovskaya , Hjalte Wedel Vildhøj

Suppose an oracle knows a string $S$ that is unknown to us and that we want to determine. The oracle can answer queries of the form "Is $s$ a substring of $S$?". In 1995, Skiena and Sundaram showed that, in the worst case, any algorithm…

数据结构与算法 · 计算机科学 2021-10-20 Gabriele Fici , Nicola Prezza , Rossano Venturini

We revisit a fundamental problem in string matching: given a pattern of length m and a text of length n, both over an alphabet of size $\sigma$, compute the Hamming distance between the pattern and the text at every location. Several…

数据结构与算法 · 计算机科学 2020-01-03 Timothy M. Chan , Shay Golan , Tomasz Kociumaka , Tsvi Kopelowitz , Ely Porat

Metric embeddings into structured spaces, particularly hierarchically well-separated trees (HSTs), are a fundamental tool in the design of online algorithms. In the classical online embedding setting, points arrive sequentially and must be…

数据结构与算法 · 计算机科学 2026-05-13 Christian Coester , Yichen Huang

In grammar-based compression a string is represented by a context-free grammar, also called a straight-line program (SLP), that generates only that string. We refine a recent balancing result stating that one can transform an SLP of size…

数据结构与算法 · 计算机科学 2021-07-02 Moses Ganardi

A substring $u$ of a string $T$ is said to be a repeat if $u$ occurs at least twice in $T$. An occurrence $[i..j]$ of a repeat $u$ in $T$ is said to be a net occurrence if each of the substrings $aub = T[i-1..j+1]$, $au = T[i-1..j+1]$, and…

数据结构与算法 · 计算机科学 2024-11-20 Takuya Mieno , Shunsuke Inenaga

We first review how we can store a run-length compressed suffix array (RLCSA) for a text $T$ of length $n$ over an alphabet of size $\sigma$ whose Burrows-Wheeler Transform (BWT) consists of $r$ runs in $O \left( \rule{0ex}{2ex} r \log (n /…

数据结构与算法 · 计算机科学 2025-04-22 Nathaniel K. Brown , Travis Gagie , Giovanni Manzini , Gonzalo Navarro , Marinella Sciortino

We propose algorithms that, given the input string of length $n$ over integer alphabet of size $\sigma$, construct the Burrows-Wheeler transform (BWT), the permuted longest-common-prefix (PLCP) array, and the LZ77 parsing in…

数据结构与算法 · 计算机科学 2020-12-09 Dominik Kempa

A curious property of randomized log-space search algorithms is that their outputs are often longer than their workspace. This leads to the question: how can we reproduce the results of a randomized log space computation without storing the…

计算复杂性 · 计算机科学 2018-03-14 Ofer Grossman , Yang P. Liu

Search trees on trees (STTs) are a far-reaching generalization of binary search trees (BSTs), allowing the efficient exploration of tree-structured domains. (BSTs are the special case in which the underlying domain is a path.) Trees on…

数据结构与算法 · 计算机科学 2020-10-29 Benjamin Aram Berendsohn , László Kozma

Given a string $T$, it is known that its suffix tree can be represented using the compact directed acyclic word graph (CDAWG) with $e_T$ arcs, taking overall $O(e_T+e_{{\overline{T}}})$ words of space, where ${\overline{T}}$ is the reverse…

数据结构与算法 · 计算机科学 2017-05-25 Djamal Belazzougui , Fabio Cunial

A classic data structure problem is to preprocess a string T of length $n$ so that, given a query $q$, we can quickly find all substrings of T with Hamming distance at most $k$ from the query string. Variants of this problem have seen…

数据结构与算法 · 计算机科学 2026-04-03 Jackson Bibbens , Levi Borevitz , Samuel McCauley

Squares (fragments of the form $xx$, for some string $x$) are arguably the most natural type of repetition in strings. The basic algorithmic question concerning squares is to check if a given string of length $n$ is square-free, that is,…

数据结构与算法 · 计算机科学 2023-03-14 Jonas Ellert , Paweł Gawrychowski , Garance Gourdel

In this paper we present a novel algorithm for concurrent lock-free internal binary search trees (BST) and implement a Set abstract data type (ADT) based on that. We show that in the presented lock-free BST algorithm the amortized step…

分布式、并行与集群计算 · 计算机科学 2014-05-12 Bapi Chatterjee , Nhan Nguyen , Philippas Tsigas

We develop a new approach for online network design and obtain improved competitive ratios for several problems. Our approach gives natural deterministic algorithms and simple analyses. At the heart of our work is a novel application of…

数据结构与算法 · 计算机科学 2014-10-17 Seeun Umboh

Suffix trees are one of the most versatile data structures in stringology, with many applications in bioinformatics. Their main drawback is their size, which can be tens of times larger than the input sequence. Much effort has been put into…

数据结构与算法 · 计算机科学 2017-12-18 Andrea Farruggia , Travis Gagie , Gonzalo Navarro , Simon J. Puglisi , Jouni Sirén

The problem of constructing optimal factoring automata arises in the context of unification factoring for the efficient execution of logic programs. Given an ordered set of $n$ strings of length $m$, the problem is to construct a trie-like…

数据结构与算法 · 计算机科学 2024-04-04 Thomas Erlebach , Kleitos Papadopoulos

The Longest Common Substring (LCS) and Longest Palindromic Substring (LPS) are classical problems in computer science, representing fundamental challenges in string processing. Both problems can be solved in linear time using a classical…

数据结构与算法 · 计算机科学 2023-09-06 Domenico Cantone , Simone Faro , Arianna Pavone , Caterina Viola

Recent advances in test-time scaling suggest that Large Language Models (LLMs) can gain better capabilities by generating Chain-of-Thought reasoning (analogous to human thinking) to respond a given request, and meanwhile exploring more…

机器学习 · 计算机科学 2025-05-20 Yuhang Wang , Youhe Jiang , Bin Cui , Fangcheng Fu