code: https://ide.codingblocks.com/s/207722
What is wrong in this?
Try this
5
1 3 2 6 5
And code is not working on codingblocks ide but it works on other compiler
code: https://ide.codingblocks.com/s/207722
What is wrong in this?
Try this
5
1 3 2 6 5
And code is not working on codingblocks ide but it works on other compiler
a)ur freq array should be of size largest+1
b)u should iterate from t=0 to t=largest to perform sorting