spiral-matrix-ii
public class Solution { public int[][] generateMatrix(int n) { int res[][] =new int [n][n]; if(n==0) { return res; } int x=0,y=0,N=n-