Marlabs Interview Question

Find all pairs in array that sum up to given number