• Thumbnail for Sorting algorithm
    lists. Sorting is also often useful for canonicalizing data and for producing human-readable output. Formally, the output of any sorting algorithm must...
    68 KB (6,408 words) - 17:30, 26 September 2024
  • Thumbnail for Bubble sort
    Bubble sort, sometimes referred to as sinking sort, is a simple sorting algorithm that repeatedly steps through the input list element by element, comparing...
    19 KB (2,332 words) - 02:56, 25 September 2024
  • example, many sorting algorithms rearrange arrays into sorted order in-place, including: bubble sort, comb sort, selection sort, insertion sort, heapsort...
    8 KB (1,151 words) - 22:30, 10 September 2024
  • set. Topological sorting is possible even when the DAG has disconnected components. The canonical application of topological sorting is in scheduling...
    23 KB (3,176 words) - 12:49, 4 October 2024
  • Thumbnail for Merge sort
    science, merge sort (also commonly spelled as mergesort and as merge-sort) is an efficient, general-purpose, and comparison-based sorting algorithm. Most implementations...
    49 KB (6,723 words) - 09:05, 31 August 2024
  • Thumbnail for Quicksort
    Quicksort (redirect from Quick sort)
    published in 1961. It is still a commonly used algorithm for sorting. Overall, it is slightly faster than merge sort and heapsort for randomized data, particularly...
    71 KB (9,936 words) - 17:41, 23 August 2024
  • science, patience sorting is a sorting algorithm inspired by, and named after, the card game patience. A variant of the algorithm efficiently computes...
    8 KB (1,127 words) - 09:59, 3 January 2024
  • Thumbnail for Insertion sort
    Insertion sort is a simple sorting algorithm that builds the final sorted array (or list) one item at a time by comparisons. It is much less efficient...
    22 KB (2,922 words) - 18:19, 7 September 2024
  • computer science, bogosort (also known as permutation sort and stupid sort) is a sorting algorithm based on the generate and test paradigm. The function...
    15 KB (1,836 words) - 21:31, 25 September 2024
  • In computer science, merge-insertion sort or the Ford–Johnson algorithm is a comparison sorting algorithm published in 1959 by L. R. Ford Jr. and Selmer...
    11 KB (1,788 words) - 09:33, 20 September 2024
  • Thumbnail for Cocktail shaker sort
    shaker sort is used primarily as an educational tool. More performant algorithms such as quicksort, merge sort, or timsort are used by the sorting libraries...
    9 KB (1,114 words) - 03:17, 2 October 2024
  • efficient algorithms for many problems, such as sorting (e.g., quicksort, merge sort), multiplying large numbers (e.g., the Karatsuba algorithm), finding...
    19 KB (2,609 words) - 16:49, 15 August 2024
  • In computer science, radix sort is a non-comparative sorting algorithm. It avoids comparison by creating and distributing elements into buckets according...
    20 KB (2,604 words) - 07:17, 11 June 2024
  • lists in sorted order. These algorithms are used as subroutines in various sorting algorithms, most famously merge sort. The merge algorithm plays a critical...
    16 KB (2,087 words) - 07:02, 24 August 2023
  • In computer science, selection sort is an in-place comparison sorting algorithm. It has an O(n2) time complexity, which makes it inefficient on large lists...
    12 KB (1,655 words) - 14:27, 15 September 2024
  • Thumbnail for Sorting
    an ordered sequence is called "sorting". Sorting is a common operation in many applications, and efficient algorithms have been developed to perform it...
    6 KB (778 words) - 16:31, 19 May 2024
  • identifiers of the classes may be members of an ordered set, allowing a sorting algorithm to arrange the items by class. Formally speaking, a collation method...
    18 KB (2,417 words) - 22:20, 2 April 2024
  • Timsort (redirect from Tim sort)
    Timsort is a hybrid, stable sorting algorithm, derived from merge sort and insertion sort, designed to perform well on many kinds of real-world data....
    19 KB (2,341 words) - 08:00, 4 September 2024
  • 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...
    12 KB (1,591 words) - 12:36, 9 February 2024
  • as smaller than "11". Alphabetical sorting: z11 z2 Natural sorting: z2 z11 Functionality to sort by natural sort order is now widely available in software...
    3 KB (263 words) - 14:40, 30 May 2023
  • Thumbnail for Heapsort
    Heapsort (redirect from Heap sort)
    comparison-based sorting algorithm which can be thought of as "an implementation of selection sort using the right data structure." Like selection sort, heapsort...
    50 KB (5,789 words) - 08:43, 19 September 2024
  • Thumbnail for Pancake sorting
    Pancake sorting is the mathematical problem of sorting a disordered stack of pancakes in order of size when a spatula can be inserted at any point in the...
    21 KB (2,201 words) - 21:46, 2 October 2024
  • Thumbnail for External sorting
    External sorting is a class of sorting algorithms that can handle massive amounts of data. External sorting is required when the data being sorted do not...
    14 KB (2,149 words) - 07:23, 11 May 2024
  • Thumbnail for Bucket sort
    Bucket sort, or bin sort, is a sorting algorithm that works by distributing the elements of an array into a number of buckets. Each bucket is then sorted individually...
    13 KB (2,190 words) - 17:41, 26 August 2024
  • Thumbnail for Bitonic sorter
    mergesort is a parallel algorithm for sorting. It is also used as a construction method for building a sorting network. The algorithm was devised by Ken Batcher...
    9 KB (1,353 words) - 09:34, 16 July 2024
  • also an external sorting algorithm. A 2-way merge, or a binary merge, has been studied extensively due to its key role in merge sort. An example of such...
    15 KB (2,409 words) - 21:32, 3 September 2024
  • to sorting algorithms. The section on the equivalence of priority queues and sorting algorithms, below, describes how efficient sorting algorithms can...
    32 KB (4,858 words) - 11:55, 5 October 2024
  • Thumbnail for Gnome sort
    Gnome sort (nicknamed stupid sort) is a variation of the insertion sort sorting algorithm that does not use nested loops. Gnome sort was originally proposed...
    6 KB (462 words) - 16:53, 4 June 2024
  • Thumbnail for Comparison sort
    A comparison sort is a type of sorting algorithm that only reads the list elements through a single abstract comparison operation (often a "less than...
    21 KB (2,674 words) - 12:54, 4 January 2024
  • Thumbnail for Kruskal's algorithm
    greedy algorithm that in each step adds to the forest the lowest-weight edge that will not form a cycle. The key steps of the algorithm are sorting and the...
    16 KB (1,851 words) - 21:25, 27 April 2024