結果 : two sum problem leetcode solution in java