If you have an array of integers how do you find pairs that give required sum. In other words which pairs of numbers add up to a given value.
There are a number of ways to solve this. Lets start with my favourite technique – brute force.
function… Read the full text.