Java Interview Questions Leetcode Two Sums