中文
相关论文

相关论文: Radix Sorting With No Extra Space

200 篇论文

We study the space requirements of a sorting algorithm where only items that at the end will be adjacent are kept together. This is equivalent to the following combinatorial problem: Consider a string of fixed length n that starts as a…

概率论 · 数学 2007-05-23 Svante Janson

For $n$-vertex graphs with treewidth $k = O(n^{1/2-\epsilon})$ and an arbitrary $\epsilon>0$, we present a word-RAM algorithm to compute vertex separators using only $O(n)$ bits of working memory. As an application of our algorithm, we give…

数据结构与算法 · 计算机科学 2020-10-01 Frank Kammer , Johannes Meintrup , Andrej Sajenko

We consider the classical problem of sorting an input array containing $n$ elements, where each element is described with a $k$-bit comparison-key and a $w$-bit payload. A long-standing open problem is whether there exist $(k + w) \cdot o(n…

数据结构与算法 · 计算机科学 2020-10-28 Gilad Asharov , Wei-Kai Lin , Elaine Shi

We describe and analyze Zig-zag Sort--a deterministic data-oblivious sorting algorithm running in O(n log n) time that is arguably simpler than previously known algorithms with similar properties, which are based on the AKS sorting network.…

数据结构与算法 · 计算机科学 2014-05-19 Michael T. Goodrich

We consider the following problem: given an unsorted array of $n$ elements, and a sequence of intervals in the array, compute the median in each of the subarrays defined by the intervals. We describe a simple algorithm which uses O(n) space…

数据结构与算法 · 计算机科学 2009-01-14 Beat Gfeller , Peter Sanders

Sorting and hashing are two completely different concepts in computer science, and appear mutually exclusive to one another. Hashing is a search method using the data as a key to map to the location within memory, and is used for rapid…

数据结构与算法 · 计算机科学 2007-05-23 William F. Gilreath

We revisit two well-known algorithmic problems on strings: computing a shortest unique substring (SUS) and a shortest absent substring (SAS) of a string $S$ of length $n$. Both problems admit folklore $\mathcal{O}(n)$-time solutions using…

数据结构与算法 · 计算机科学 2026-05-07 Panagiotis Charalampopoulos , Manal Mohamed , Solon P. Pissis , Hilde Verbeek , Wiktor Zuba

Let $T$ be a string of length $n$ over an integer alphabet of size $\sigma$. In the word RAM model, $T$ can be represented in $O(n /\log_\sigma n)$ space. We show that a representation of all covers of $T$ can be computed in the optimal…

数据结构与算法 · 计算机科学 2024-09-24 Jakub Radoszewski , Wiktor Zuba

We study 4 problems in string matching, namely, regular expression matching, approximate regular expression matching, string edit distance, and subsequence indexing, on a standard word RAM model of computation that allows logarithmic-sized…

数据结构与算法 · 计算机科学 2008-09-22 Philip Bille , Martin Farach-Colton

A simple method to produce a random order type is to take the order type of a random point set. We conjecture that many probability distributions on order types defined in this way are heavily concentrated and therefore sample inefficiently…

计算几何 · 计算机科学 2020-06-05 Olivier Devillers , Philippe Duchon , Marc Glisse , Xavier Goaoc

In computer science, sorting algorithms are crucial for data processing and machine learning. Large datasets and high efficiency requirements provide challenges for comparison-based algorithms like Quicksort and Merge sort, which achieve…

数据结构与算法 · 计算机科学 2024-10-01 Amin Amini

Let $k\ge 1$ be an integer, and let $P= (f_1(x), \ldots, f_k(x) )$ be $k$ admissible linear polynomials over the integers, or \textit{the pattern}. We present two algorithms that find all integers $x$ where $\max{ \{f_i(x) \} } \le n$ and…

数论 · 数学 2021-05-31 Jonathan P. Sorenson , Jonathan Webster

We propose an $O(N\cdot M)$ sorting algorithm by Machine Learning method, which shows a huge potential sorting big data. This sorting algorithm can be applied to parallel sorting and is suitable for GPU or TPU acceleration. Furthermore, we…

机器学习 · 计算机科学 2018-08-16 Hanqing Zhao , Yuehan Luo

We revisit the problem of finding shortest unique substring (SUS) proposed recently by [6]. We propose an optimal $O(n)$ time and space algorithm that can find an SUS for every location of a string of size $n$. Our algorithm significantly…

数据结构与算法 · 计算机科学 2014-01-14 Atalay Mert İleri , M. Oğuzhan Külekci , Bojian Xu

We show that the compressed suffix array and the compressed suffix tree of a string $T$ can be built in $O(n)$ deterministic time using $O(n\log\sigma)$ bits of space, where $n$ is the string length and $\sigma$ is the alphabet size.…

数据结构与算法 · 计算机科学 2016-11-15 J. Ian Munro , Gonzalo Navarro , Yakov Nekrich

We introduce a compressed suffix array representation that, on a text $T$ of length $n$ over an alphabet of size $\sigma$, can be built in $O(n)$ deterministic time, within $O(n\log\sigma)$ bits of working space, and counts the number of…

数据结构与算法 · 计算机科学 2017-09-05 J. Ian Munro , Gonzalo Navarro , Yakov Nekrich

Given a text $T$ of length $n$, we propose a deterministic online algorithm computing the sparse suffix array and the sparse longest common prefix array of $T$ in $O(c \sqrt{\lg n} + m \lg m \lg n \lg^* n)$ time with $O(m)$ words of space…

数据结构与算法 · 计算机科学 2018-03-26 Johannes Fischer , Tomohiro I , Dominik Köppl

String sorting is an important part of tasks such as building index data structures. Unfortunately, current string sorting algorithms do not scale to massively parallel distributed-memory machines since they either have latency (at least)…

数据结构与算法 · 计算机科学 2024-04-26 Florian Kurpicz , Pascal Mehnert , Peter Sanders , Matthias Schimek

A key principle in string processing is local consistency: using short contexts to handle matching fragments of a string consistently. String synchronizing sets [Kempa, Kociumaka; STOC 2019] are an influential instantiation of this…

数据结构与算法 · 计算机科学 2026-02-13 Jonas Ellert , Tomasz Kociumaka

There has been surprisingly little work on algorithms for sorting strings on distributed-memory parallel machines. We develop efficient algorithms for this problem based on the multi-way merging principle. These algorithms inspect only…

分布式、并行与集群计算 · 计算机科学 2020-01-24 Timo Bingmann , Peter Sanders , Matthias Schimek