• + 1 comment

    Isn't this solution is missing 2 elements for each hourglass ??

    arr[i+1][j];

    arr[i+1][j+2]