You are viewing a single comment's thread. Return to all comments →
Python
def countSort(arr): for i in range(len(arr)//2): arr[i][1] = '-' arr.sort(key=lambda x: int(x[0])) [print(c[1], end=' ') for c in arr]
Seems like cookies are disabled on this browser, please enable them to open this website
The Full Counting Sort
You are viewing a single comment's thread. Return to all comments →
Python