You are viewing a single comment's thread. Return to all comments →
Python solution:
def countingSort(arr): new_array = [0] * 100 for index in range(len(arr)): new_array[arr[index]] += 1 return new_array
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 →
Python solution: