Module buldak::double_selection
source · Expand description
double selection sort algorithm.
unstable sort
O(N²)
Functions
- Sort in ascending order using a double selection sort algorithm.
- It takes a comparator function to determine the order, and sorts it using a double selection sort algorithm.
- Sort in descending order using a double selection sort algorithm.