Global Information Lookup Global Information

Integer sorting information


In computer science, integer sorting is the algorithmic problem of sorting a collection of data values by integer keys. Algorithms designed for integer sorting may also often be applied to sorting problems in which the keys are floating point numbers, rational numbers, or text strings.[1] The ability to perform integer arithmetic on the keys allows integer sorting algorithms to be faster than comparison sorting algorithms in many cases, depending on the details of which operations are allowed in the model of computing and how large the integers to be sorted are.

Integer sorting algorithms including pigeonhole sort, counting sort, and radix sort are widely used and practical. Other integer sorting algorithms with smaller worst-case time bounds are not believed to be practical for computer architectures with 64 or fewer bits per word. Many such algorithms are known, with performance depending on a combination of the number of items to be sorted, number of bits per key, and number of bits per word of the computer performing the sorting algorithm.

  1. ^ Han & Thorup (2002).

and 25 Related for: Integer sorting information

Request time (Page generated in 1.3955 seconds.)

Integer sorting

Last Update:

science, integer sorting is the algorithmic problem of sorting a collection of data values by integer keys. Algorithms designed for integer sorting may also...

Word Count : 4038

Radix sort

Last Update:

most suitable for sorting strings or fixed-length integer representations. A sequence like [b, c, e, d, f, g, ba] would be sorted as [b, ba, c, d, e...

Word Count : 2603

Sorting algorithm

Last Update:

sorts. A comparison sort cannot perform better than O(n log n) on average. The following table describes integer sorting algorithms and other sorting...

Word Count : 6394

Counting sort

Last Update:

counting sort is an algorithm for sorting a collection of objects according to keys that are small positive integers; that is, it is an integer sorting algorithm...

Word Count : 1591

Quicksort

Last Update:

1961. It is still a commonly used algorithm for sorting. Overall, it is slightly faster than merge sort and heapsort for randomized data, particularly...

Word Count : 9985

Comparison sort

Last Update:

log n) bound for comparison sorting by using non-comparison sorts; an example is integer sorting, where all keys are integers. When the keys form a small...

Word Count : 2674

Merge sort

Last Update:

computer science, merge sort (also commonly spelled as mergesort) is an efficient, general-purpose, and comparison-based sorting algorithm. Most implementations...

Word Count : 6677

Random access

Last Update:

required, or at least valuable, in many algorithms such as binary search, integer sorting, or certain versions of sieve of Eratosthenes. Other data structures...

Word Count : 544

Bead sort

Last Update:

Bead sort, also called gravity sort, is a natural sorting algorithm, developed by Joshua J. Arulanandham, Cristian S. Calude and Michael J. Dinneen in...

Word Count : 1081

Word RAM

Last Update:

word RAM model, integer sorting can be done fairly efficiently. Yijie Han and Mikkel Thorup created a randomized algorithm to sort integers in expected time...

Word Count : 553

Maxima of a point set

Last Update:

assumed to be integers, this can be sped up using integer sorting algorithms, to have the same asymptotic running time as the sorting algorithms. For...

Word Count : 941

Stooge sort

Last Update:

Stooge sort is a recursive sorting algorithm. It is notable for its exceptionally bad time complexity of O ( n log ⁡ 3 / log ⁡ 1.5 ) {\displaystyle O(n^{\log...

Word Count : 487

Bogosort

Last Update:

In computer science, bogosort (also known as permutation sort and stupid sort) is a sorting algorithm based on the generate and test paradigm. The function...

Word Count : 1803

Shellsort

Last Update:

Shell sort or Shell's method, is an in-place comparison sort. It can be seen as either a generalization of sorting by exchange (bubble sort) or sorting by...

Word Count : 3436

Block sort

Last Update:

Block sort, or block merge sort, is a sorting algorithm combining at least two merge operations with an insertion sort to arrive at O(n log n) (see Big...

Word Count : 4902

Bubble sort

Last Update:

already sorted, while quicksort would still perform its entire O ( n log ⁡ n ) {\displaystyle O(n\log n)} sorting process. While any sorting algorithm...

Word Count : 2318

Transdichotomous model

Last Update:

a problem such as integer sorting in which there are n integers to be sorted, the transdichotomous model assumes that each integer may be stored in a...

Word Count : 496

List of integer sequences

Last Update:

This is a list of notable integer sequences with links to their entries in the On-Line Encyclopedia of Integer Sequences. OEIS core sequences Index to...

Word Count : 27

Real RAM

Last Update:

instance, it allows fast integer sorting algorithms, while sorting on the real RAM must be done with slower comparison sorting algorithms. However, some...

Word Count : 826

Natural number

Last Update:

natural numbers as the non-negative integers 0, 1, 2, 3, ..., while others define them as the positive integers 1, 2, 3, .... Some authors acknowledge...

Word Count : 5898

Bucket sort

Last Update:

different sorting algorithm, or by recursively applying the bucket sorting algorithm. It is a distribution sort, a generalization of pigeonhole sort that allows...

Word Count : 2190

Convex hull algorithms

Last Update:

arithmetic that allow numbers to be sorted more quickly than O(n log n) time, for instance by using integer sorting algorithms, planar convex hulls can...

Word Count : 2229

American flag sort

Last Update:

flag sort is an efficient, in-place variant of radix sort that distributes items into buckets. Non-comparative sorting algorithms such as radix sort and...

Word Count : 988

Predecessor problem

Last Update:

problems like integer sorting. The problem consists of maintaining a set S, which contains a subset of U integers. Each of these integers can be stored...

Word Count : 988

Dan Willard

Last Update:

{\displaystyle O(n(1+{\tfrac {\log N}{\log n}}))} by radix sorting. However, it was assumed that integer sorting algorithms would necessarily have a time bound depending...

Word Count : 1055

PDF Search Engine © AllGlobal.net