Doubt in "sorting in linear time"

The testcase 1 show run-error.Please solve my error ,
Here my code:

Plz change the size of array as : a[100005];

1 Like

Thank you very much…