check the below code
Counting Sort , I am not able to pass all the test cases, my code is absolutely correct .please
Hello @vanshu21,
Your code is running correctly. But the problem is with the output format of your code.
Example:
5
1 3 2 6 5
Expected Output:
1 2 3 5 6
Your Output:
12356
Can you see the difference? Correct it and it will pass the testcases.
Hope, this would help.
Give a like if you are satisfied.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.