i tried writing this code for counting sort algo.
pls tell where am i going wrong ?
Counting sort code
Change the line as : for(i=0;i<=m;i++)
and then try to submit.
it is still showing run time error
I have corrected your code, try to submit it now…
1 Like