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