نتایج جستجو برای: quicksort algorithm

تعداد نتایج: 754139  

Journal: :CoRR 2014
Vasileios Iliopoulos

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 linearity of the cost needed for the partition process. The integration constants of the expected cost are computed using Vandermonde matrices.

Journal: :Random Struct. Algorithms 2015
Ralph Neininger

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 Yn is known to converge almost surely to a non-degenerate random limit Y. This assumes a natural embedding of all Yn on one probability space, e.g., via random binary se...

Journal: :CoRR 2012
Ralph Neininger

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 Yn is known to converge almost surely to a non-degenerate random limit Y. This assumes a natural embedding of all Yn on one probability space, e.g., via random binary se...

Journal: :Random Structures & Algorithms 2013

Journal: :Stochastic Processes and their Applications 2014

Journal: :Journal of the Korea Society of Computer and Information 2012

2016
Kurt Mehlhorn

This is Section 5.4 in Mehlhorn/Sanders [DMS14, MS08] Quicksort is a divide-and-conquer algorithm. Let S be the set to be sorted. We select a uniformly random element p from S and split S into three parts. The set S< of elements smaller than p, the set S= of elements equal to p and the set S> of elements larger than p. The element p is usually called the pivot. Then we apply the algorithm recur...

2016
Razvan Certezeanu Sophia Drossopoulou Benjamin Egelund-Müller K. Rustan M. Leino Sinduran Sivarajan Mark J. Wheelhouse

We verify the correctness of a recursive version of Tony Hoare’s quicksort algorithm using the Hoare-logic based verification tool Dafny. We then develop a non-standard, iterative version which is based on a stack of pivot-locations rather than the standard stack of ranges. We outline an incomplete Dafny proof for the latter.

Journal: :Electronic Proceedings in Theoretical Computer Science 2020

2005
Tao Jiang Ming Li Brendan Lucier

In this paper we study the Kolmogorov Complexity of a Binary Insertion Tree. We obtain a simple incompressibility argument that yields an asymptotic analysis of average tree height. This argument further implies that the QuickSort algorithm sorts a permutation of n elements in Θ(n log n) comparisons on average.

نمودار تعداد نتایج جستجو در هر سال

با کلیک روی نمودار نتایج را به سال انتشار فیلتر کنید