https://ide.codingblocks.com/s/43044
my code for count sort it is running well on small inputs but when i submit it is generating error for test case
Test case is generating error
You have made such a small mistake , you have to define the size of freq array larger than max, because array element can be larger than size N.
thanks for correction . that was a silly one