rename to counting sort

This commit is contained in:
2018-11-20 12:16:29 -03:00
parent 1094451880
commit 02ea6050e9
6 changed files with 18 additions and 18 deletions

View File

@@ -19,7 +19,7 @@
#include <unistd.h>
#include "random.h"
#include "bubble_sort.h"
#include "count_sort.h"
#include "counting_sort.h"
#include "selection_sort.h"
#include "bitonic_sort.h"
#include "merge_sort.h"
@@ -124,10 +124,10 @@ int main(int argc, char **argv) {
passed++;
}
// Test count sort
// Test counting sort
pass = 1;
memcpy(test_array, test_case, sizeof(int) * n);
fprintf(stdout, "\tcount sort: ");
fprintf(stdout, "\tcounting sort: ");
fflush(stdout);
count_sort(test_array, n);
for (i = 0; i < n; i++) {