Update sorting/radix_sort2.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
Suyashjaiswal
2020-10-16 14:07:23 +05:30
committed by GitHub
parent 8ff0fbc00b
commit e01027fac8

View File

@@ -121,7 +121,7 @@ namespace sort
* Function to test the above algorithm * Function to test the above algorithm
* @returns none * @returns none
*/ */
void test2(){ static void test2(){
std::vector<int> ar = {213,3214,123,111,112,142,133,132,32,12,113}; std::vector<int> ar = {213,3214,123,111,112,142,133,132,32,12,113};
sort::radix_sort::radix obj(ar); sort::radix_sort::radix obj(ar);
obj.radix_sort(); obj.radix_sort();