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