toggle menu
KAHelpers
androidJvm
switch theme
search in API
dataStructuresAndAlgorithms
/
dev.funkymuse.datastructuresandalgorithms.sort.quickSort
/
quicksortNaive
quicksort
Naive
fun
<
T
:
Comparable
<
T
>
>
List
<
T
>
.
quicksortNaive
(
)
:
List
<
T
>
The naive partitioning creates a new list on every filter function; this is inefficient.
Receiver
List
Return
List