Math, asked by einstien2906, 11 months ago

Find all pairs in array of integers whose sum is equal to given number

Answers

Answered by ss2616
0

Answer:

Step-by-step explanation:

Given an array of integers, you have to find all pairs of elements in this array such that whose sum must be equal to a given number. For example, if {4, 5, 7, 11, 9, 13, 8, 12} is an array and 20 is the given number, then you have to find all pairs of elements in this array whose sum must be 20.

Similar questions