Generalized Leapfrogging Samplesort: A Class of O(n ^2 n) Worst-Case Complexity and O(n n) Average-Case Complexity Sorting Algorithms

01/29/2018
by   Eliezer A. Albacea, et al.
0

The original Leapfrogging Samplesort operates on a sorted sample of size s and an unsorted part of size s+1. We generalize this to a sorted sample of size s and an unsorted part of size (2^k-1)(s+1), where k = O(1). We present a practical implementation of this class of algorithms and we show that the worst-case complexity is O(n ^2 n) and the average-case complexity is O(n n). Keywords: Samplesort, Quicksort, Leapfrogging Samplesort, sorting, analysis of algorithms.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/23/2015

A Machine Learning Approach to Predicting the Smoothed Complexity of Sorting Algorithms

Smoothed analysis is a framework for analyzing the complexity of an algo...
research
11/02/2018

Worst-Case Efficient Sorting with QuickMergesort

The two most prominent solutions for the sorting problem are Quicksort a...
research
06/24/2016

Asymptotic and exact results on the complexity of the Novelli-Pak-Stoyanovskii algorithm

The Novelli-Pak-Stoyanovskii algorithm is a sorting algorithm for Young ...
research
06/08/2020

Halting Time is Predictable for Large Models: A Universality Property and Average-case Analysis

Average-case analysis computes the complexity of an algorithm averaged o...
research
05/22/2018

On the Worst-Case Complexity of TimSort

TimSort is an intriguing sorting algorithm designed in 2002 for Python, ...
research
06/19/2020

Minimax rates without the fixed sample size assumption

We generalize the notion of minimax convergence rate. In contrast to the...
research
10/07/2019

Minimal sample size in balanced ANOVA models of crossed, nested and mixed classifications

We consider balanced one-, two- and three-way ANOVA models to test the h...

Please sign up or login with your details

Forgot password? Click here to reset