Counting Sort 1

  • + 0 comments
    def countingSort(arr):
        # Write your code here
        
        r = [0] * 100
        for i in arr:
            r[i] += 1
           
        return r