Giving TLE counting sort

http://ide.codingblocks.com/#/s/16900
https://hack.codingblocks.com/contests/c/452/437

1 Like

Hy Preesh,
You have taken sizes of array very very less. That is one issue with your code. Try implementing your code again and if doesn’t works well then feel free to ask.

the size of array B and C should be 1000000?