Counting Sort 1

  • + 0 comments
    def countingSort(arr):
        aux = [0 for _ in range(100)]
        for a in arr:
            aux[a] += 1
        return aux