中文
相关论文

相关论文: Quicksort with median of medians is considered pra…

200 篇论文

We present numerical results for the probability of bad cases for Quicksort, i.e. cases of input data for which the sorting cost considerably exceeds that of the average. Dynamic programming was used to compute solutions of the recurrence…

数据结构与算法 · 计算机科学 2015-07-16 Guido Hartmann

The two most prominent solutions for the sorting problem are Quicksort and Mergesort. While Quicksort is very fast on average, Mergesort additionally gives worst-case guarantees, but needs extra space for a linear number of elements.…

数据结构与算法 · 计算机科学 2018-11-05 Stefan Edelkamp , Armin Weiß

We consider the fundamental problem of internally sorting a sequence of $n$ elements. In its best theoretical setting QuickMergesort, a combination Quicksort with Mergesort with a Median-of-$\sqrt{n}$ pivot selection, requires at most $n…

数据结构与算法 · 计算机科学 2018-04-27 Stefan Edelkamp , Armin Weiß

In this paper, we analyse the dual pivot Quicksort, a variant of the standard Quicksort algorithm, in which two pivots are used for the partitioning of the array. We are solving recurrences of the expected number of key comparisons and…

数据结构与算法 · 计算机科学 2015-03-31 Vasileios Iliopoulos , David B. Penman

Multi-Pivot Quicksort refers to variants of classical quicksort where in the partitioning step $k$ pivots are used to split the input into $k + 1$ segments. For many years, multi-pivot quicksort was regarded as impractical, but in 2009 a…

数据结构与算法 · 计算机科学 2016-06-01 Martin Aumüller , Martin Dietzfelbinger , Pascal Klaue

The complexity of the Quicksort algorithm is usually measured by the number of key comparisons used during its execution. When operating on a list of $n$ data, permuted uniformly at random, the appropriately normalized complexity $Y_n$ is…

概率论 · 数学 2013-01-25 Ralph Neininger

Dual-pivot quicksort refers to variants of classical quicksort where in the partitioning step two pivots are used to split the input into three segments. This can be done in different ways, giving rise to different algorithms. Recently, a…

数据结构与算法 · 计算机科学 2015-10-14 Martin Aumüller , Martin Dietzfelbinger

This paper describes a new median algorithm and a median approximation algorithm. The former has O(n) average running time and the latter has O(n) worst-case running time. These algorithms are highly competitive with the standard algorithm…

统计计算 · 统计学 2009-05-12 Ryan J. Tibshirani

QuickXsort is a highly efficient in-place sequential sorting scheme that mixes Hoare's Quicksort algorithm with X, where X can be chosen from a wider range of other known sorting algorithms, like Heapsort, Insertionsort and Mergesort. Its…

数据结构与算法 · 计算机科学 2018-11-06 Stefan Edelkamp , Armin Weiß , Sebastian Wild

Sorting algorithms have attracted a great deal of attention and study, as they have numerous applications to Mathematics, Computer Science and related fields. In this thesis, we first deal with the mathematical analysis of the Quicksort…

数据结构与算法 · 计算机科学 2015-10-05 Vasileios Iliopoulos

Many statistical problems and applications require repeated computation of order statistics, such as the median, but most statistical and programming environments do not offer in their main distribution linear selection algorithms. We…

统计方法学 · 统计学 2023-02-14 Ivano Azzini , Domenico Perrotta , Francesca Torti

We analyse a generalisation of the Quicksort algorithm, where k uniformly at random chosen pivots are used for partitioning an array of n distinct keys. Specifically, the expected cost of this scheme is obtained, under the assumption of…

数据结构与算法 · 计算机科学 2018-09-05 Vasileios Iliopoulos

This paper gives a straightforward self-contained proof of the formula for the variance of the number of comparisons used by the Quicksort sorting algorithm when pivots are chosen uniformly at random. The result has been known for some time…

概率论 · 数学 2010-06-22 Vasileios Iliopoulos , David Penman

QuickXsort is a strategy to combine Quicksort with another sorting method X, so that the result has essentially the same comparison cost as X in isolation, but sorts in place even when X requires a linear-size buffer. We solve the…

数据结构与算法 · 计算机科学 2019-05-07 Sebastian Wild

The Median of Medians (also known as BFPRT) algorithm, although a landmark theoretical achievement, is seldom used in practice because it and its variants are slower than simple approaches based on sampling. The main contribution of this…

数据结构与算法 · 计算机科学 2016-08-05 Andrei Alexandrescu

Consider the problem of estimating the median of N items to a precision epsilon, i.e., the estimate should be such that, with a high probability, the number of items, with values both smaller than and larger than this estimate, is less than…

量子物理 · 物理学 2007-05-23 Lov K. Grover

We provide a smoothed analysis of Hoare's find algorithm and we revisit the smoothed analysis of quicksort. Hoare's find algorithm - often called quickselect - is an easy-to-implement algorithm for finding the k-th smallest element of a…

数据结构与算法 · 计算机科学 2009-04-27 Mahmoud Fouz , Manfred Kufleitner , Bodo Manthey , Nima Zeini Jahromi

Recently, a new Quicksort variant due to Yaroslavskiy was chosen as standard sorting method for Oracle's Java 7 runtime library. The decision for the change was based on empirical studies showing that on average, the new algorithm is faster…

数据结构与算法 · 计算机科学 2013-10-29 Sebastian Wild , Markus E. Nebel

In this paper we generalize the idea of QuickHeapsort leading to the notion of QuickXsort. Given some external sorting algorithm X, QuickXsort yields an internal sorting algorithm if X satisfies certain natural conditions. With…

数据结构与算法 · 计算机科学 2013-07-12 Stefan Edelkamp , Armin Weiß

I discuss the new dual-pivot Quicksort that is nowadays used to sort arrays of primitive types in Java. I sketch theoretical analyses of this algorithm that offer a possible, and in my opinion plausible, explanation why (a) dual-pivot…

数据结构与算法 · 计算机科学 2016-09-29 Sebastian Wild
‹ 上一页 1 2 3 10 下一页 ›