AceSorting
0.2
Sorting algorithms for Arduino (Bubble Sort, Insertion Sort, Shell Sort, Comb Sort, Quick Sort)
|
#include "swap.h"
Go to the source code of this file.
Functions | |
template<typename T > | |
void | ace_sorting::selectionSort (T data[], uint16_t n) |
Selection sort. More... | |
Selection sort.
Definition in file selectionSort.h.
void ace_sorting::selectionSort | ( | T | data[], |
uint16_t | n | ||
) |
Selection sort.
Average complexity: O(n^2)
T | type of data to sort |
Definition at line 45 of file selectionSort.h.