HusnaSari / Algorithms

MIT License
1 stars 1 forks source link

Star Pyramiths #5

Open emrerenJs opened 2 years ago

emrerenJs commented 2 years ago

Write the program that gives the following output

*
**
***
..
****.. * (N pieces)
..
***
**
*

Note :

Example 1:

N : 4
*
**
***
****
***
**
*

Example 2:

N: 3
*
**
***
**
*

Difficulty: 10/3