Sorting in liner time (runtime error)


i have used counting sort in it

hi @vikashkmr519,
There is just a small error.check comment in the following code .In the loop after count array it has to run till n and not till max.