Quickselect
Selection algorithm to find the kth smallest element in an unordered list
In computer science, quickselect is a selection algorithm to find the kth smallest element in an unordered list, also known as the kth order statistic. Like the related quicksort sorting algorithm, it was developed by Tony Hoare, and thus is also known as Hoare's selection algorithm.
Nº Q3927837 ★
Común · Saberes
Quickselect
Selection algorithm to find the kth smallest element in an unordered list
In computer science, quickselect is a selection algorithm to find the kth smallest element in an unordered list, also known as the kth order statistic. Like the related quicksort sorting algorithm, it was developed by Tony Hoare, and thus is also known as Hoare's selection algorithm.
En Wikipedia
Texto en inglés Aún no hay artículo en tu idioma: extracto en inglés.
In computer science, quickselect is a selection algorithm to find the kth smallest element in an unordered list, also known as the kth order statistic. Like 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 in practice and has good average-case performance, but has poor worst-case performance. Quickselect and its variants are the selection algorithms most often used in efficient real-world implementations. Quickselect uses the same overall approach as quicksort, choosing one element as a pivot and partitioning the data in two based on the pivot, accordingly as less than or greater than the pivot. However, instead of recursing into both sides, as in quicksort, quickselect only recurses into one side – the side with the element it is searching for. This reduces the average complexity from O ( n log n ) {\displaystyle O(n\log n)} to O ( n ) {\displaystyle O(n)} , with a worst case of O ( n 2 ) {\displaystyle O(n^{2})} . As with quicksort, quickselect is generally implemented as an in-place algorithm, and beyond selecting the kth element, it also partially sorts the data. See selection algorithm for further discussion of the connection with sorting.
Texto: Wikipedia en inglés, CC BY-SA 4.0. · Imagen: Pashapanther (CC BY 3.0) ·
Cartas cercanas
-
Ç
Çekdar Orhan
Futbolista turco
Nº Q69487401 ★
Sin ofertas
-
Enes Keskin
Turkish association football player (born 2001)
Nº Q116778763 ★★★
Sin ofertas
-
Cihat Çelik
Futbolista turco
Nº Q14468463 ★★★
Sin ofertas
-
Kadir Keleş
Futbolista turco
Nº Q1720957 ★★
Sin ofertas
-
İ
İzzet Çelik
Futbolista turco
Nº Q108701837 ★★
Sin ofertas
-
R
Ramazan Civelek
Futbolista turco
Nº Q19610926 ★★★
Sin ofertas