dataxu interview question

Two sum pairs