Bubble sort error in the code

I am not able find the testcases for which my code is not submitting.