- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsort.h
More file actions
Latest commit
23 lines (19 loc) · 492 Bytes
/
Copy pathsort.h
File metadata and controls
23 lines (19 loc) · 492 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef CPP_ALGORITHM_SORT_H
#defineCPP_ALGORITHM_SORT_H
#include<vector>
namespaceSort
{
/**
* \brief Selection sort algorithm.
* \param seq sequence of elements
* \return sorted sequence
*/
autoSelectionSort(std::vector<int>& seq) -> std::vector<int>;
/**
* \brief Insertion sort algorithm.
* \param seq sequence of elements
* \return sorted sequence
*/
autoInsertionSort(std::vector<int>& seq) -> std::vector<int>;
}
#endif