https://ide.codingblocks.com/#/s/15775
counting sort
my output is coming right but it is not passing a testcase in hackerblocks of counting sort.
Https://ide.codingblocks.com/#/s/15775
In the constraints of problem statement, it is mentioned that a[i]<=10^6, but you have allocated space for 100 integers only in your auxiliary array b.
Make the size of input array a[] and b[] to be 10^6
Thanks it worked,