• Thumbnail for Quicksort
    Quicksort is an efficient, general-purpose sorting algorithm. Quicksort was developed by British computer scientist Tony Hoare in 1959 and published in...
    71 KB (9,936 words) - 17:41, 23 August 2024
  • Thumbnail for Quickselect
    the related quicksort sorting algorithm, it was developed by Tony Hoare, and thus is also known as Hoare's selection algorithm. Like quicksort, it is efficient...
    9 KB (1,163 words) - 13:33, 30 October 2024
  • Thumbnail for Sorting algorithm
    exchange, selection, merging, etc. Exchange sorts include bubble sort and quicksort. Selection sorts include cycle sort and heapsort. Whether the algorithm...
    68 KB (6,408 words) - 17:30, 26 September 2024
  • Thumbnail for Heapsort
    well-implemented quicksort, it has the advantages of very simple implementation and a more favorable worst-case O(n log n) runtime. Most real-world quicksort variants...
    50 KB (5,789 words) - 19:29, 20 October 2024
  • Consequently, quicksort needs O(log2 n) additional space. Although this non-constant space technically takes quicksort out of the in-place category, quicksort and...
    8 KB (1,151 words) - 22:30, 10 September 2024
  • Thumbnail for Tree sort
    sort, but it is equivalent to quicksort as both recursively partition the elements based on a pivot, and since quicksort is in-place and has lower overhead...
    5 KB (636 words) - 10:13, 1 August 2023
  • performance and (asymptotically) optimal worst-case performance. It begins with quicksort, it switches to heapsort when the recursion depth exceeds a level based...
    11 KB (1,223 words) - 16:38, 30 September 2024
  • basis of efficient algorithms for many problems, such as sorting (e.g., quicksort, merge sort), multiplying large numbers (e.g., the Karatsuba algorithm)...
    19 KB (2,609 words) - 16:49, 15 August 2024
  • implementation) quickSort :: Ord a => [a] -> [a] -- Using list comprehensions quickSort [] = [] -- The empty list is already sorted quickSort (x:xs) = quickSort [a...
    50 KB (4,569 words) - 04:06, 11 October 2024
  • Thumbnail for Bubble sort
    used primarily as an educational tool. More efficient algorithms such as quicksort, timsort, or merge sort are used by the sorting libraries built into popular...
    19 KB (2,332 words) - 02:56, 25 September 2024