IBM interview question

Solving a 2 sums problem