Illumina interview question

Solve a 2-sum problem. It is the typical 2-sum problem directly from Leetcode.