You are viewing a single comment's thread. Return to all comments →
My C code 😁😎🐦🔥
int* countingSort(int arr_count, int* arr, int* result_count) { int* result = (int*)calloc(100,sizeof(int)); *result_count = 100; for(int i = 0;i < arr_count;i++){ result[arr[i]]++; } return result; }
Seems like cookies are disabled on this browser, please enable them to open this website
Counting Sort 1
You are viewing a single comment's thread. Return to all comments →
My C code 😁😎🐦🔥