Hard
Diamond
Read n and print a diamond of stars with 2n − 1 rows, widest in the middle (2n − 1 stars).
Input
One integer n ≥ 1.
Output
2n − 1 lines.
Sample 1
Input
3
Output
* *** ***** *** *
Sample 2
Input
1
Output
*
Output appears hereOne integer n ≥ 1.
2n − 1 lines.
3
* *** ***** *** *
1
*
Output appears here