Counting Sort 1

  • + 0 comments

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