Example 1
4
**** * * * * ****
Explanation The first and last rows are full. Middle rows have stars only at the edges.
4
**** * * * * ****
Explanation The first and last rows are full. Middle rows have stars only at the edges.
1
*
Explanation A 1 × 1 frame is just one star.
2
** **
Explanation A 2 × 2 frame has no inside, so all stars.