You are viewing a single comment's thread. Return to all comments →
Thank you @WeirdCoder
Here's my python solution which uses counting sort.
Hackerrank - The Full Counting Sort Solution
Thanks bro i read your post and it help me alot to understand your code
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=" ")
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
Seems like cookies are disabled on this browser, please enable them to open this website
I agree to HackerRank's Terms of Service and Privacy Policy.
The Full Counting Sort
You are viewing a single comment's thread. Return to all comments →
Thank you @WeirdCoder
Here's my python solution which uses counting sort.
Hackerrank - The Full Counting Sort Solution
Thanks bro i read your post and it help me alot to understand your code
My python code
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