You are viewing a single comment's thread. Return to all comments →
Here is my simple Python solution!
def countingSort(arr): frequency = [0 for i in range(100)] for num in arr: frequency[num] += 1 return frequency
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 →
Here is my simple Python solution!