Interview Question

Software Development Engineer Interview

-Bangalore

K12 Techno Services

Print all the pairs from the unsorted array whose sum is equal to given sum. Input : Arr = [ 3, 5, 6, 1, 2] and sum=7 Output : [(5,2)(6,1)]

Answer

Add Answers or Comments

To comment on this, Sign In or Sign Up.