CyberCube interview question

The classic two sum problem.