We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
int*countingSort(intarr_count,int*arr,int*result_count){staticinttable[100]={0};// A static variable in C is a special type of variable that has its value stored in memory for the entire lifespan of a program.*result_count=100;for(inti=0;i<arr_count;i++){table[arr[i]]++;}returntable;}
Cookie support is required to access HackerRank
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 solution in C: