中文
相关论文

相关论文: Sorting using complete subintervals and the maximu…

200 篇论文

A problem that arises in drawings of transportation networks is to minimize the number of crossings between different transportation lines. While this can be done efficiently under specific constraints, not all solutions are visually…

数据结构与算法 · 计算机科学 2013-06-25 Martin Fink , Sergey Pupyrev

Let us call a sequence of numbers heapable if they can be sequentially inserted to form a binary tree with the heap property, where each insertion subsequent to the first occurs at a leaf of the tree, i.e. below a previously placed number.…

数据结构与算法 · 计算机科学 2010-07-15 John Byers , Brent Heeringa , Michael Mitzenmacher , Georgios Zervas

Smart Sort algorithm is a "smart" fusion of heap construction procedures (of Heap sort algorithm) into the conventional "Partition" function (of Quick sort algorithm) resulting in a robust version of Quick sort algorithm. We have also…

数据结构与算法 · 计算机科学 2012-04-24 Niraj Kumar Singh , Soubhik Chakraborty

This paper settles the optimality of sorting networks given in The Art of Computer Programming vol. 3 more than 40 years ago. The book lists efficient sorting networks with n <= 16 inputs. In this paper we give general combinatorial…

离散数学 · 计算机科学 2013-12-24 Daniel Bundala , Jakub Závodný

Recall that a Stirling permutation is a permutation on the multiset $\{1,1,2,2,\ldots,n,n\}$ such that any numbers appearing between repeated values of $i$ must be greater than $i$. We call a Stirling permutation ``flattened'' if the…

The approximate sorting for big data is considered in this paper. The goal of approximate sorting for big data is to generate an approximate sorted result, but using less CPU and I/O cost. For big data, we consider the approximate sorting…

数据结构与算法 · 计算机科学 2023-03-29 Tianpeng Gao , Jianzhong Li

We study a class of finite state machines, called \defi{$w$-matching machines}, which yield to simulate the behavior of pattern matching algorithms while searching for a pattern $w$. They can be used to compute the asymptotic speed, i.e.…

计算复杂性 · 计算机科学 2016-05-03 Gilles Didier

New bounds on the number of similar or directly similar copies of a pattern within a finite subset of the line or the plane are proved. The number of equilateral triangles whose vertices all lie within an $n$-point subset of the plane is…

The apportionment problem deals with the fair distribution of a discrete set of $k$ indivisible resources (such as legislative seats) to $n$ entities (such as parties or geographic subdivisions). Highest averages methods are a frequently…

数据结构与算法 · 计算机科学 2014-09-10 Zhanpeng Cheng , David Eppstein

We investigate the longest common substring problem for encoded sequences and its asymptotic behaviour. The main result is a strong law of large numbers for a re-scaled version of this quantity, which presents an explicit relation with the…

概率论 · 数学 2019-12-12 Adriana Coutinho , Rodrigo Lambert , Jérôme Rousseau

We study streaming algorithms for the interval selection problem: finding a maximum cardinality subset of disjoint intervals on the line. A deterministic 2-approximation streaming algorithm for this problem is developed, together with an…

数据结构与算法 · 计算机科学 2015-03-20 Yuval Emek , Magnus M. Halldorsson , Adi Rosen

We study maximum selection and sorting of $n$ numbers using pairwise comparators that output the larger of their two inputs if the inputs are more than a given threshold apart, and output an adversarially-chosen input otherwise. We consider…

数据结构与算法 · 计算机科学 2016-06-10 Jayadev Acharya , Moein Falahatgar , Ashkan Jafarpour , Alon Orlitsky , Ananda Theertha Suresh

We study sorting algorithms based on randomized round-robin comparisons. Specifically, we study Spin-the-bottle sort, where comparisons are unrestricted, and Annealing sort, where comparisons are restricted to a distance bounded by a…

数据结构与算法 · 计算机科学 2015-03-17 Michael T. Goodrich

A run in a string is a maximal periodic substring. For example, the string $\texttt{bananatree}$ contains the runs $\texttt{anana} = (\texttt{an})^{3/2}$ and $\texttt{ee} = \texttt{e}^2$. There are less than $n$ runs in any length-$n$…

数据结构与算法 · 计算机科学 2021-02-18 Jonas Ellert , Johannes Fischer

We determine the distributions of lengths of runs in random sequences of elements from a totally ordered set (total order) or partially ordered set (partial order). In particular, we produce novel formulae for the expected value, variance,…

概率论 · 数学 2025-08-15 Tanner Reese

In the (1-dimensional) bin packing problem, we are asked to pack all the given items into bins, each of capacity one, so that the number of non-empty bins is minimized. Zhu~[Chaos, Solitons \& Fractals 2016] proposed an approximation…

数据结构与算法 · 计算机科学 2025-09-23 Hiroshi Fujiwara , Rina Atsumi , Hiroaki Yamamoto

We revisit the well-known problem of sorting under partial information: sort a finite set given the outcomes of comparisons between some pairs of elements. The input is a partially ordered set P, and solving the problem amounts to…

数据结构与算法 · 计算机科学 2013-01-22 Jean Cardinal , Samuel Fiorini , Gwenaël Joret , Raphaël Jungers , J. Ian Munro

Pop-Stack Sorting is an algorithm that takes a permutation as an input and sorts its elements. It consists of several steps. At one step, the algorithm reads the permutation it has to process from left to right and reverses each of its…

概率论 · 数学 2022-12-20 Lyuben Lichev

We study a sequential resource allocation problem between a fixed number of arms. On each iteration the algorithm distributes a resource among the arms in order to maximize the expected success rate. Allocating more of the resource to a…

机器学习 · 计算机科学 2018-03-29 Yuval Dagan , Koby Crammer

One of the greatest algorithms of all time is Quicksort. Its average running time is famously O(nlog(n)), and its variance, less famously, is O(n^2) (hence its standard deviation is O(n)). But what about higher moments? Here we find…

概率论 · 数学 2019-03-12 Shalosh B. Ekhad , Doron Zeilberger