Arrays target sum pairss

1 wrong ans test case why link of code is below

Please try to solve early as possible

1 Like

to obtain 6 we can use 3 and 3 together, the pairs should be made of distinct numbers. we cant use the same number again.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.