Arrays target sum pairs

my code is not passing all the test cases.

Hey, Share your code’s link we will help you in rectifying the errors in your code.