You are viewing a single comment's thread. Return to all comments →
in python: * def countingSort(arr): * # Write your code here * result = [0]*100 * for i in range(len(arr)): * result[arr[i]]+= 1 * 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 →
in python: * def countingSort(arr): * # Write your code here * result = [0]*100 * for i in range(len(arr)): * result[arr[i]]+= 1 * return result