Fast solution for two-sum problem.