中文
相关论文

相关论文: Sorting and Ranking of Self-Delimiting Numbers wit…

200 篇论文

It is well known that n integers in the range [1,n^c] can be sorted in O(n) time in the RAM model using radix sorting. More generally, integers in any range [1,U] can be sorted in O(n sqrt{loglog n}) time. However, these algorithms use O(n)…

数据结构与算法 · 计算机科学 2007-06-29 Gianni Franceschini , S. Muthukrishnan , Mihai Patrascu

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

In this paper, we provide algorithms to rank, unrank, and randomly generate certain degree-restricted classes of Cayley trees. Specifically, we consider classes of trees that have a given degree sequence or a given multiset of degrees. If…

组合数学 · 数学 2010-09-13 Jeffery B. Remmel , S. Gill Williamson

We extend the Faulty RAM model by Finocchi and Italiano (2008) by adding a safe memory of arbitrary size $S$, and we then derive tradeoffs between the performance of resilient algorithmic techniques and the size of the safe memory. Let…

数据结构与算法 · 计算机科学 2015-04-03 Lorenzo De Stefani , Francesco Silvestri

In this paper, we provide algorithms to rank and unrank certain degree-restricted classes of Cayley trees (spanning trees of the n-vertex complete graph). Specifically, we consider classes of trees that have a given set of leaves or a fixed…

组合数学 · 数学 2010-09-13 Jeffrey B. Remmel , S. Gill Williamson

We consider the problem of compactly representing the Depth First Search (DFS) tree of a given undirected or directed graph having $n$ vertices and $m$ edges while supporting various DFS related queries efficiently in the RAM with…

数据结构与算法 · 计算机科学 2019-06-20 Sankardeep Chakraborty , Kunihiko Sadakane

Neighborhood algorithms may take a considerable percentage of computer time in discrete element methods (DEM). While the sort-and-sweep algorithm is ideal in some ways, as it only deal with particles whose relative positions change in one…

计算物理 · 物理学 2026-03-06 Dominik Krengel , Yuki Watanabe , Ko Kandori , Jian Chen , Hans-Georg Matuttis

Read-only memory model is a classical model of computation to study time-space tradeoffs of algorithms. One of the classical results on the ROM model is that any sorting algorithm that uses O(s) words of extra space requires $\Omega…

数据结构与算法 · 计算机科学 2017-11-28 Sankardeep Chakraborty , Anish Mukherjee , Venkatesh Raman , Srinivasa Rao Satti

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

The maximum common subtree isomorphism problem asks for the largest possible isomorphism between subtrees of two given input trees. This problem is a natural restriction of the maximum common subgraph problem, which is ${\sf NP}$-hard in…

数据结构与算法 · 计算机科学 2016-08-23 Andre Droschinsky , Nils M. Kriege , Petra Mutzel

Let $\mathcal{D}$ be a collection of $D$ documents, which are strings over an alphabet of size $\sigma$, of total length $n$. We describe a data structure that uses linear space and and reports $k$ most relevant documents that contain a…

数据结构与算法 · 计算机科学 2013-08-02 Gonzalo Navarro , Yakov Nekrich

This paper deals with the two fundamental problems concerning the handling of large n-gram language models: indexing, that is compressing the n-gram strings and associated satellite data without compromising their retrieval speed; and…

信息检索 · 计算机科学 2022-02-08 Giulio Ermanno Pibiri , Rossano Venturini

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…

数据结构与算法 · 计算机科学 2022-06-03 Jishnu Roychoudhury , Jatin Yadav

Algorithms are given for determining $L_\infty$ isotonic regression of weighted data. For a linear order, grid in multidimensional space, or tree, of $n$ vertices, optimal algorithms are given, taking $\Theta(n)$ time. These improve upon…

数据结构与算法 · 计算机科学 2017-06-26 Quentin F. Stout

We consider the problem of sorting $n$ elements subject to persistent random comparison errors. In this problem, each comparison between two elements can be wrong with some fixed (small) probability $p$, and comparing the same pair of…

数据结构与算法 · 计算机科学 2025-08-28 Barbara Geissmann , Stefano Leucci , Chih-Hung Liu , Paolo Penna

The selection problem, where one wishes to locate the $k^{th}$ smallest element in an unsorted array of size $n$, is one of the basic problems studied in computer science. The main focus of this work is designing algorithms for solving the…

数据结构与算法 · 计算机科学 2012-08-30 Tsvi Kopelowitz , Nimrod Talmon

We design a space-efficient algorithm for performing depth-first search traversal(DFS) of a graph in $O(m+n\log^* n)$ time using $O(n)$ bits of space. While a normal DFS algorithm results in a DFS-tree (in case the graph is connected), our…

数据结构与算法 · 计算机科学 2018-10-18 Jayesh Choudhari , Manoj Gupta , Shivdutt Sharma

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

Continuing the recent trend, in this article we design several space-efficient algorithms for two well-known graph search methods. Both these search methods share the same name {\it breadth-depth search} (henceforth {\sf BDS}), although…

数据结构与算法 · 计算机科学 2019-06-20 Sankardeep Chakraborty , Anish Mukherjee , Srinivasa Rao Satti

We describe an algorithm computing an optimal prefix free code from $N$ unsorted positive integer weights in time linear in the number of machine words holding those weights. This algorithm takes advantage of common non-algebraic…

数据结构与算法 · 计算机科学 2017-03-02 Jérémy Barbay
‹ 上一页 1 2 3 10 下一页 ›