Adaptive Sorting with AVL Trees

Amr Elmasry · Kluwer Academic Publishers eBooks · 2006

A new adaptive sorting algorithm is introduced. The new implementation relies on using the traditional AVL trees, and has the same performance limitations. More precisely, the number of comparisons performed by our algorithm, on an input sequence of length n that has I inversions, is at most 1.44n lg1/n + O(n) 1. Our algorithm runs in time O(n log 1/n) and is practically efficient and easy to implement.

Read the paper · More papers on PaperTik