Code of Counting Sort

why my code “https://ide.codingblocks.com/s/77887” is giving runtime error

Hey Ayush
There were some mistakes… I have mentioned them as comments:


This code passes the test cases. Hope the comments clear your doubt!

Thank you very much it cleared my doubt.

1 Like