@@ -0,0 +1,410 @@
+package leetcode;%0A%0Aimport java.util.Arrays;%0A%0A/**%0A * https://leetcode.com/problems/spiral-matrix-ii/%0A */%0Apublic class Problem59 %7B%0A    public int%5B%5D%5B%5D generateMatrix(int n) %7B%0A        return null;%0A    %7D%0A    %0A    public static void main(String%5B%5D args) %7B%0A        Problem59 prob = new Problem59();%0A        for (int%5B%5D a : prob.generateMatrix(3)) %7B%0A            System.out.println(Arrays.toString(a));%0A        %7D%0A    %7D%0A%7D%0A

Create a skeleton for problem 59