@@ -0,0 +1,576 @@
+package leetcode.pascals_triangle_ii;%0A%0Aimport java.util.ArrayList;%0A%0Apublic class Solution %7B%0A    public ArrayList%3CInteger%3E getRow(int rowIndex) %7B%0A        ArrayList%3CInteger%3E ary = new ArrayList%3CInteger%3E();%0A        long C = 1;%0A        ary.add((int)C);%0A        for(int i = 1; i %3C= rowIndex; i++)%7B%0A        %09C *= rowIndex + 1 - i;%0A        %09C /= i;%0A        %09ary.add((int)C);%0A        %7D%0A        return ary;%0A    %7D%0A    %0A    public static void main(String%5B%5D args)%7B%0A    %09for(int x : new Solution().getRow(20))%7B%0A    %09%09System.err.print(x + %22, %22);%0A    %09%7D%0A    %09System.err.println(%22%22);%0A    %7D%0A%7D%0A

Add java solution for 119. Pascal's Triangle II