Divisible subarray, TC 3 not passed

Please verify the Code and can u provide where i am missing the Test Case. or provide the case where my code fails.