Hackerrank-Problem-Solving-Python-Solutions icon indicating copy to clipboard operation
Hackerrank-Problem-Solving-Python-Solutions copied to clipboard

Divisible sum pairs

Open n-freman opened this issue 3 years ago • 1 comments

your code will give IndexError

because when it reaches i == len(ar)-1 it tries to get ar[j] where j == i + 1 == len(ar)

n-freman avatar Jun 12 '22 11:06 n-freman

your code will give IndexError

because when it reaches i == len(ar)-1 it tries to get ar[j] where j == i + 1 == len(ar)

Not getting any such error

navanitnandakumar avatar Aug 12 '23 04:08 navanitnandakumar