The Full Counting Sort

  • + 2 comments

    Thank you @WeirdCoder

    • + 2 comments

      Here's my python solution which uses counting sort.

      Hackerrank - The Full Counting Sort Solution

      • + 0 comments

        Thanks bro i read your post and it help me alot to understand your code

      • + 0 comments

        My python code

        def countSort(arr):
            str = ''
            for j in range(len(arr)//2):
                arr[j][1] = "-"
            arr.sort(key = lambda x:int(x[0]))
            for k in arr:
                print(k[1], end=" ")
        
    • + 0 comments

      here is problem solution in java python c++ c and javascript programming. https://programs.programmingoneonone.com/2021/05/hackerrank-the-full-counting-sort-solution.html