@@ -0,0 +1,587 @@
+public class Solution %7B%0A    public int threeSumSmaller(int%5B%5D nums, int target) %7B%0A        Arrays.sort(nums);%0A        int size = nums.length, res = 0;%0A        for (int i = 0; i %3C size - 2; i++) %7B%0A            int newtarget = target - nums%5Bi%5D;%0A            int j = i + 1, k = size - 1;%0A            while (j %3C k) %7B%0A                int twosum = nums%5Bj%5D + nums%5Bk%5D;%0A                if (twosum %3C newtarget) %7B%0A                    res += k - j;%0A                    j++;%0A                %7D else %7B%0A                    k--;%0A                %7D%0A            %7D%0A        %7D%0A        %0A        return res;%0A    %7D%0A%7D%0A

Create ThreeSumSmaller_001.java