Sorting in linear time error doubt

i am getting run error in a test case . i am not able to find out the mistake. i need help

Plz send your code by saving on ide

I have modified your code a bit, try to submit it now…

nope it also didn’t worked. Infact now three test cases are showing wrong answer