@@ -0,0 +1,438 @@
+public class Solution %7B%0A    public int%5B%5D twoSum(int%5B%5D nums, int target) %7B%0A        Map%3CInteger, Integer%3E map = new HashMap%3C%3E();%0A        for (int i = 0; i %3C nums.length; i++) %7B%0A            int con = target - nums%5Bi%5D;%0A            if (map.containsKey(con)) %7B%0A                return new int%5B%5D %7Bmap.get(con), i%7D;%0A            %7D%0A            map.put(nums%5Bi%5D, i);%0A        %7D%0A        throw new IllegalArgumentException(%22No two sum solution%22);%0A    %7D%0A%7D

Add Problem1