K12 Techno Services Interview Question: Print all the pairs from the ... | Glassdoor.co.in

Interview Question

Software Development Engineer Interview(Student Candidate) Bengaluru

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.