English
Related papers

Related papers: Tree Path Minimum Query Oracle via Boruvka Trees

200 papers

The parametric shortest path problem is to find the shortest paths in graph where the edge costs are of the form w_ij+lambda where each w_ij is constant and lambda is a parameter that varies. The problem is to find shortest path trees for…

Data Structures and Algorithms · Computer Science 2015-06-02 Neal Young , Robert Tarjan , James Orlin

Variational Quantum Algorithms (VQAs) are promising for near- and intermediate-term quantum computing, but their execution cost is substantial. Each task requires many iterations and numerous circuits per iteration, and real-world…

Quantum Physics · Physics 2025-12-22 Yuewen Hou , Dhanvi Bharadwaj , Gokul Subramanian Ravi

This note describes a very simple O(1) query time algorithm for finding level ancestors. This is basically a serial (re)-implementation of the parallel algorithm of Berkman and Vishkin (O.Berkman and U.Vishkin, Finding level-ancestors in…

Data Structures and Algorithms · Computer Science 2024-07-30 Sanjeev Saxena

Searching in partially ordered structures has been considered in the context of information retrieval and efficient tree-like indexes, as well as in hierarchy based knowledge representation. In this paper we focus on tree-like partial…

Data Structures and Algorithms · Computer Science 2016-12-16 Ferdinando Cicalese , Balázs Keszegh , Bernard Lidický , Dömötör Pálvölgyi , Tomáš Valla

Existing parallel algorithms for wavelet tree construction have a work complexity of $O(n\log\sigma)$. This paper presents parallel algorithms for the problem with improved work complexity. Our first algorithm is based on parallel integer…

Distributed, Parallel, and Cluster Computing · Computer Science 2020-01-17 Julian Shun

We consider the problem of collaborative tree exploration posed by Fraigniaud, Gasieniec, Kowalski, and Pelc where a team of $k$ agents is tasked to collectively go through all the edges of an unknown tree as fast as possible. Denoting by…

Distributed, Parallel, and Cluster Computing · Computer Science 2023-02-01 Romain Cosson , Laurent Massoulié , Laurent Viennot

A simple linear search algorithm running in $O(n+mk)$ time is proposed for constructing the lower envelope of $k$ vertices from $m$ monotone polygonal chains in 2D with $n$ vertices in total. This can be applied to output-sensitive…

Computational Geometry · Computer Science 2015-07-07 Daniel Lu

The shortest augmenting path technique is one of the fundamental ideas used in maximum matching and maximum flow algorithms. Since being introduced by Edmonds and Karp in 1972, it has been widely applied in many different settings.…

Discrete Mathematics · Computer Science 2017-12-21 Bartłomiej Bosek , Dariusz Leniowski , Piotr Sankowski , Anna Zych-Pawlewicz

We consider approximate {\em path-reporting} distance oracles, distance labeling and labeled routing with extremely low space requirement, for general undirected graphs. For distance oracles, we show how to break the n\log n space bound of…

Data Structures and Algorithms · Computer Science 2014-10-06 Michael Elkin , Ofer Neiman , Christian Wulff-Nilsen

In binary jumbled pattern matching we wish to preprocess a binary string $S$ in order to answer queries $(i,j)$ which ask for a substring of $S$ that is of size $i$ and has exactly $j$ 1-bits. The problem naturally generalizes to…

Data Structures and Algorithms · Computer Science 2014-07-01 Danny Hermelin , Gad M. Landau , Yuri Rabinovich , Oren Weimann

We study the problem of learning a hierarchical tree representation of data from labeled samples, taken from an arbitrary (and possibly adversarial) distribution. Consider a collection of data tuples labeled according to their hierarchical…

Machine Learning · Computer Science 2023-02-10 Dmitrii Avdiukhin , Grigory Yaroslavtsev , Danny Vainstein , Orr Fischer , Sauman Das , Faraz Mirza

Given a graph of which the n vertices form a regular two-dimensional grid, and in which each (possibly weighted and/or directed) edge connects a vertex to one of its eight neighbours, the following can be done in O(scan(n)) I/Os, provided M…

Data Structures and Algorithms · Computer Science 2012-11-12 Herman Haverkort

We present space-efficient parallel strategies for two fundamental combinatorial search problems, namely, backtrack search and branch-and-bound, both involving the visit of an $n$-node tree of height $h$ under the assumption that a node can…

Data Structures and Algorithms · Computer Science 2014-03-27 Andrea Pietracaprina , Geppino Pucci , Francesco Silvestri , Fabio Vandin

We show how to construct a dynamic ordered dictionary, supporting insert/delete/rank/select on a set of $n$ elements from a universe of size $U$, that achieves the optimal amortized expected time complexity of $O(1 + \log n / \log \log U)$,…

Data Structures and Algorithms · Computer Science 2025-10-23 William Kuszmaul , Jingxun Liang , Renfei Zhou

In distance query reconstruction, we wish to reconstruct the edge set of a hidden graph by asking as few distance queries as possible to an oracle. Given two vertices $u$ and $v$, the oracle returns the shortest path distance between $u$…

Data Structures and Algorithms · Computer Science 2024-10-17 Paul Bastide , Carla Groenland

Sorting is a foundational problem in computer science that is typically employed on sequences or total orders. More recently, a more general form of sorting on partially ordered sets (or posets), where some pairs of elements are…

Data Structures and Algorithms · Computer Science 2022-06-03 Jishnu Roychoudhury , Jatin Yadav

Quantum computing is a popular topic in computer science, which has recently attracted many studies in various areas such as machine learning and network. However, the topic of quantum data structures seems neglected. There is an open…

Databases · Computer Science 2024-06-03 Hao Liu , Xiaotian You , Raymond Chi-Wing Wong

Computing bounded depth decompositions is a bottleneck in many applications of the treedepth parameter. The fastest known algorithm, which is due to Reidl, Rossmanith, S\'{a}nchez Villaamil, and Sikdar [ICALP 2014], runs in…

Data Structures and Algorithms · Computer Science 2025-02-25 Lars Jaffke , Paloma T. de Lima , Wojciech Nadara , Emmanuel Sam

We show that the problem of whether a query is equivalent to a query of tree-width $k$ is decidable, for the class of Unions of Conjunctive Regular Path Queries with two-way navigation (UC2RPQs). A previous result by Barcel\'o, Romero, and…

Logic in Computer Science · Computer Science 2025-03-12 Diego Figueira , Rémi Morvan

The range-minimum query (RMQ) problem is a fundamental data structuring task with numerous applications. Despite the fact that succinct solutions with worst-case optimal $2n+o(n)$ bits of space and constant query time are known, it has been…

Data Structures and Algorithms · Computer Science 2019-03-07 J. Ian Munro , Sebastian Wild