English
Related papers

Related papers: Efficiently computing runs on a trie

200 papers

A string $w$ is called a minimal absent word (MAW) for another string $T$ if $w$ does not occur (as a substring) in $T$ and any proper substring of $w$ occurs in $T$. State-of-the-art data structures for reporting the set $\mathsf{MAW}(T)$…

Data Structures and Algorithms · Computer Science 2022-04-18 Tooru Akagi , Kouta Okabe , Takuya Mieno , Yuto Nakashima , Shunsuke Inenaga

Given in the plane a set $S$ of $n$ points and a set of disks centered at these points, the disk graph $G(S)$ induced by these disks has vertex set $S$ and an edge between two vertices if their disks intersect. Note that the disks may have…

Computational Geometry · Computer Science 2025-10-08 Bruce W. Brewer , Haitao Wang

Recently we presented the first algorithm for maintaining the set of nodes reachable from a source node in a directed graph that is modified by edge deletions with $o(mn)$ total update time, where $m$ is the number of edges and $n$ is the…

Data Structures and Algorithms · Computer Science 2016-12-13 Monika Henzinger , Sebastian Krinninger , Danupon Nanongkai

In this paper, we study the maximum matching problem in RDV graphs, i.e., graphs that are vertex-intersection graphs of downward paths in a rooted tree. We show that this problem can be reduced to a problem of testing (repeatedly) whether a…

Computational Geometry · Computer Science 2024-06-07 Therese Biedl , Prashant Gokhale

A terrain is an $x$-monotone polygon whose lower boundary is a single line segment. We present an algorithm to find in a terrain a triangle of largest area in $O(n \log n)$ time, where $n$ is the number of vertices defining the terrain. The…

Computational Geometry · Computer Science 2025-02-14 Sergio Cabello , Arun Kumar Das , Sandip Das , Joydeep Mukherjee

We provide a simple new randomized contraction approach to the global minimum cut problem for simple undirected graphs. The contractions exploit 2-out edge sampling from each vertex rather than the standard uniform edge sampling. We…

Data Structures and Algorithms · Computer Science 2019-09-04 Mohsen Ghaffari , Krzysztof Nowicki , Mikkel Thorup

A transversal of a hypergraph is a set of vertices intersecting each hyperedge. We design and analyze new exponential-time algorithms to enumerate all inclusion-minimal transversals of a hypergraph. For each fixed k>2, our algorithms for…

Data Structures and Algorithms · Computer Science 2015-10-20 Manfred Cochefert , Jean-Francois Couturier , Serge Gaspers , Dieter Kratsch

Let $T$ be an infinite rooted tree with weights $w_e$ assigned to its edges. Denote by $m_n(T)$ the minimum weight of a path from the root to a node of the $n$th generation. We consider the possible behaviour of $m_n(T)$ with focus on the…

Probability · Mathematics 2014-11-18 Omid Amini , Luc Devroye , Simon Griffiths , Neil Olver

This paper investigates the execution of tree-shaped task graphs using multiple processors. Each edge of such a tree represents a large IO file. A task can only be executed if all input and output files fit into memory, and a file can only…

Distributed, Parallel, and Cluster Computing · Computer Science 2012-10-10 Loris Marchal , Oliver Sinnen , Frédéric Vivien

We present an algorithm for computing a maximum agreement subtree of two unrooted evolutionary trees. It takes O(n^{1.5} log n) time for trees with unbounded degrees, matching the best known time complexity for the rooted case. Our…

Computational Engineering, Finance, and Science · Computer Science 2007-05-23 Ming-Yang Kao , Tak-Wah Lam , Wing-Kin Sung , Hing-Fung Ting

A recent work shows how we can optimize a tree based mode of operation for a hash function where the sizes of input message blocks and digest are the same, subject to the constraint that the involved tree structure has all its leaves at the…

Distributed, Parallel, and Cluster Computing · Computer Science 2017-06-28 Kevin Atighehchi

As well known the rotation distance D(S,T) between two binary trees S, T of n vertices is the minimum number of rotations of pairs of vertices to transform S into T. We introduce the new operation of chain rotation on a tree, involving two…

Data Structures and Algorithms · Computer Science 2012-04-27 Fabrizio Luccio , Linda Pagli

Given an arbitrary bitstream, we consider the problem of finding the longest substring whose ratio of ones to zeroes equals a given value. The central result of this paper is an algorithm that solves this problem in linear time. The method…

Data Structures and Algorithms · Computer Science 2011-08-22 Benjamin A. Burton

In graph theory, a tree is one of the more popular families of graphs with a wide range of applications in computer science as well as many other related fields. While there are several distance measures over the set of all trees, we…

Information Theory · Computer Science 2021-02-04 Lev Yohananov , Eitan yaakobi

The \emph{spanning tree packing number} of a graph $G$ is the maximum number of edge-disjoint spanning trees contained in $G$. Let $k\geq 1$ be a fixed integer. Palmer and Spencer proved that in almost every random graph process, the…

Combinatorics · Mathematics 2013-01-08 Xiaolin Chen , Xueliang Li , Huishu Lian

The decision tree is one of the most fundamental programming abstractions. A commonly used type of decision tree is the alphabetic binary tree, which uses (without loss of generality) ``less than'' versus ''greater than or equal to'' tests…

Performance · Computer Science 2007-07-13 Michael B. Baer

Let G be a directed graph with n vertices and non-negative weights in its directed edges, embedded on a surface of genus g, and let f be an arbitrary face of G. We describe a randomized algorithm to preprocess the graph in O(gn log n) time…

Data Structures and Algorithms · Computer Science 2013-05-13 Sergio Cabello , Erin Wolf Chambers , Jeff Erickson

Nishimoto and Tabei [CPM, 2021] proposed r-enum, an algorithm to enumerate various characteristic substrings, including maximal repeats, in a string $T$ of length $n$ in $O(r)$ words of compressed working space, where $r \le n$ is the…

Data Structures and Algorithms · Computer Science 2026-01-27 Kotaro Kimura , Tomohiro I

Exact pattern matching in labeled graphs is the problem of searching paths of a graph $G=(V,E)$ that spell the same string as the pattern $P[1..m]$. This basic problem can be found at the heart of more complex operations on variation graphs…

Computational Complexity · Computer Science 2020-06-04 Massimo Equi , Roberto Grossi , Veli Mäkinen

We give the first linear-time counting algorithm for processes in anonymous 1-interval-connected dynamic networks with a leader. As a byproduct, we are able to compute in $3n$ rounds every function that is deterministically computable in…

Distributed, Parallel, and Cluster Computing · Computer Science 2024-02-21 Giuseppe A. Di Luna , Giovanni Viglietta