Title :
Faster deterministic sorting and searching in linear space
Author_Institution :
Dept. of Comput. Sci., Lund Univ.
Abstract :
We present a significant improvement on linear space deterministic sorting and searching. On a unit-cost RAM with word size w, an ordered set of n w-bit keys (viewed as binary strings or integers) can be maintained in O(min{[√(logn)][logn/logw+loglogn][logwloglogn]}) time per operation, including insert, delete, member search, and neighbour search. The cost for searching is worst-case while the cost for updates is amortized. As an application, n keys can be sorted in linear at O(n√(logn)) worst-case cost. The best previous method for deterministic sorting and searching in linear space has been the fusion trees which supports updates and queries in O(logn/loglogn) amortized time and sorting in O(nlogn/loglogn) worst-case time. We also make two minor observations on adapting our data structure to the input distribution and on the complexity of perfect hashing
Keywords :
computational complexity; deterministic algorithms; search problems; sorting; tree data structures; complexity; data structure; delete; deterministic sorting; fusion trees; insert; linear space; member search; neighbour search; perfect hashing; searching; unit-cost RAM; worst-case; Arithmetic; Computer science; Costs; Data structures; Dictionaries; Polynomials; Read-write memory; Sorting; Tree data structures; Upper bound;
Conference_Titel :
Foundations of Computer Science, 1996. Proceedings., 37th Annual Symposium on
Conference_Location :
Burlington, VT
Print_ISBN :
0-8186-7594-2
DOI :
10.1109/SFCS.1996.548472