20 lines
812 B
C++
20 lines
812 B
C++
|
/*#############################################################################
|
||
|
## Author: Shaun Reed ##
|
||
|
## Legal: All Content (c) 2021 Shaun Reed, all rights reserved ##
|
||
|
## About: An example implementation of counting sort using a custom library ##
|
||
|
## + In support of a radix sort implementation ##
|
||
|
## ##
|
||
|
## Contact: shaunrd0@gmail.com | URL: www.shaunreed.com | GitHub: shaunrd0 ##
|
||
|
###############################################################################
|
||
|
*/
|
||
|
|
||
|
#ifndef RADIX_LIB_COUNT_HPP
|
||
|
#define RADIX_LIB_COUNT_HPP
|
||
|
|
||
|
#include <vector>
|
||
|
|
||
|
|
||
|
void CountingSort(std::vector<int> &array, int placeValue);
|
||
|
|
||
|
#endif // RADIX_LIB_COUNT_HPP
|