中文
相关论文

相关论文: Radix Sorting With No Extra Space

200 篇论文

Sorting is one of the fundamental problems in computer science. Playing a role in many processes, it has a lower complexity bound imposed by $\mathcal{O}(n\log{n})$ when executing on a sequential machine. This limit can be brought down to…

硬件体系结构 · 计算机科学 2025-07-23 Daniel Bascones , Borja Morcillo

We present a new algorithm for computing the Lempel-Ziv Factorization (LZ77) of a given string of length $N$ in linear time, that utilizes only $N\log N + O(1)$ bits of working space, i.e., a single integer array, for constant size integer…

数据结构与算法 · 计算机科学 2013-10-08 Keisuke Goto , Hideo Bannai

We suggest a new non-recursive algorithm for constructing a binary search tree given an array of numbers. The algorithm has $O(N)$ time and $O(1)$ memory complexity if the given array of $N$ numbers is sorted. The resulting tree is of…

数据结构与算法 · 计算机科学 2022-07-20 Pavel S. Ruzankin

Given a string $S$ of length $N$ on a fixed alphabet of $\sigma$ symbols, a grammar compressor produces a context-free grammar $G$ of size $n$ that generates $S$ and only $S$. In this paper we describe data structures to support the…

数据结构与算法 · 计算机科学 2014-08-15 Djamal Belazzougui , Simon J. Puglisi , Yasuo Tabei

Tries are among the most versatile and widely used data structures on words. In particular, they are used in fundamental sorting algorithms such as radix sort which we study in this paper. While the performance of radix sort and tries under…

概率论 · 数学 2015-05-28 Kevin Leckey , Ralph Neininger , Wojciech Szpankowski

Given an unordered array of $N$ elements drawn from a totally ordered set and an integer $k$ in the range from $1$ to $N$, in the classic selection problem the task is to find the $k$-th smallest element in the array. We study the…

数据结构与算法 · 计算机科学 2014-07-15 Amr Elmasry , Daniel Dahl Juhl , Jyrki Katajainen , Srinivasa Rao Satti

We consider space-bounded computations on a random-access machine (RAM) where the input is given on a read-only random-access medium, the output is to be produced to a write-only sequential-access medium, and the available workspace allows…

数据结构与算法 · 计算机科学 2015-10-27 Omar Darwish , Amr Elmasry , Jyrki Katajainen

Low-rank representation~(LRR) has been a significant method for segmenting data that are generated from a union of subspaces. It is, however, known that solving the LRR program is challenging in terms of time complexity and memory…

机器学习 · 统计学 2017-10-24 Jie Shen , Ping Li , Huan Xu

For most algorithms dealing with sets of points in the plane, the only relevant information carried by the input is the combinatorial configuration of the points: the orientation of each triple of points in the set (clockwise,…

计算几何 · 计算机科学 2018-01-08 Jean Cardinal , Timothy M. Chan , John Iacono , Stefan Langerman , Aurélien Ooms

The original Leapfrogging Samplesort operates on a sorted sample of size $s$ and an unsorted part of size $s+1$. We generalize this to a sorted sample of size $s$ and an unsorted part of size $(2^k-1)(s+1)$, where $k = O(1)$. We present a…

数据结构与算法 · 计算机科学 2018-01-30 Eliezer A. Albacea

A new integer deterministic factorization algorithm, rated at arithmetic operations to $O(N^{1/6+\varepsilon})$ arithmetic operations, is presented in this note. Equivalently, given the least $(\log N)/6$ bits of a factor of the balanced…

数据结构与算法 · 计算机科学 2022-04-25 N. A. Carella

We revisit various string indexing problems with range reporting features, namely, position-restricted substring searching, indexing substrings with gaps, and indexing substrings with intervals. We obtain the following main results.…

数据结构与算法 · 计算机科学 2011-08-19 Philip Bille , Inge Li Goertz

In this paper, we present a deterministic variant of Chan's randomized partition tree [Discret. Comput. Geom., 2012]. This result leads to numerous applications. In particular, for $d$-dimensional simplex range counting (for any constant $d…

计算几何 · 计算机科学 2025-07-03 Haitao Wang

In this paper we describe compressed indexes that support pattern matching queries for strings with wildcards. For a constant size alphabet our data structure uses $O(n\log^{\varepsilon}n)$ bits for any $\varepsilon>0$ and reports all…

数据结构与算法 · 计算机科学 2014-01-06 Moshe Lewenstein , Yakov Nekrich , Jeffrey Scott Vitter

In the Online List Labeling problem, a set of $n \leq N$ elements from a totally ordered universe must be stored in sorted order in an array with $m=N+\lceil\varepsilon N \rceil$ slots, where $\varepsilon \in (0,1]$ is constant, while an…

数据结构与算法 · 计算机科学 2024-05-08 Martin P. Seybold

A determined algorithm is presented for solving the rSUM problem for any natural r with a sub-quadratic assessment of time complexity in some cases. In terms of an amount of memory used the obtained algorithm is the nlog^3(n) order. The…

数据结构与算法 · 计算机科学 2015-02-10 Valerii Sopin

A fundamental algorithm for selecting ranks from a finite subset of an ordered set is Radix Selection. This algorithm requires the data to be given as strings of symbols over an ordered alphabet, e.g., binary expansions of real numbers. Its…

概率论 · 数学 2017-10-04 Kevin Leckey , Ralph Neininger , Henning Sulzbach

Let $T [1..n]$ be a text over an alphabet of size $\sigma \in \mathrm{polylog} (n)$, let $r^*$ be the sum of the numbers of runs in the Burrows-Wheeler Transforms of $T$ and its reverse, and let $z$ be the number of phrases in the LZ77…

数据结构与算法 · 计算机科学 2025-08-19 Travis Gagie

We revisit the problem of permuting an array of length $n$ according to a given permutation in place, that is, using only a small number of bits of extra storage. Fich, Munro and Poblete [FOCS 1990, SICOMP 1995] obtained an elegant…

数据结构与算法 · 计算机科学 2021-01-12 Bartłomiej Dudek , Paweł Gawrychowski , Karol Pokorski

In this paper, a sorting technique is presented that takes as input a data set whose primary key domain is known to the sorting algorithm, and works with an time efficiency of O(n+k), where k is the primary key domain. It is shown that the…

数据结构与算法 · 计算机科学 2007-05-23 Udayan Khuarana