Counting Sort 1

  • + 0 comments

    Python

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