Kindly attach examples on the output of the above pattern at n=3,7, 9 . It will help me understand the pattern better.
Hollow Diamond Pattern
for n = 3
* * *
* *
* * *
for n = 5
* * * * *
* * * *
* *
* * * *
* * * * *
for n = 7
* * * * * * *
* * * * * *
* * * *
* *
* * * *
* * * * * *
* * * * * * *
I hope the pattern is clear to you now, please mark the doubt as resolved if you dont have any further queries