@@ -0,0 +1,538 @@
+import java.util.Hashtable;%0A%0Apublic class Solution %7B%0A    public int%5B%5D twoSum(int%5B%5D nums, int target) %7B%0A        Hashtable%3CInteger, Integer%3E dict = new Hashtable%3CInteger, Integer%3E();%0A        int len = nums.length;%0A        int%5B%5D res = new int%5B2%5D;%0A        for(int i=0; i%3Clen; i++)%7B%0A            if(dict.containsKey(target - nums%5Bi%5D))%7B%0A                res%5B0%5D = dict.get(target - nums%5Bi%5D)+1;%0A                res%5B1%5D = i+1;%0A                return res;%0A            %7D%0A            dict.put(nums%5Bi%5D, i);%0A        %7D%0A        %0A        return res;%0A    %7D%0A%7D%0A

Create TwoSum_002.java