I think the explanation given for this problem is not correct. It’s not making sense for inputs other then 5. Please can you help me out with this.
Also I want to suggest you guys to have more then one sample input/output for the problems just for clarity sake.
Input/Output confusion
Hi please note that the output for let’s say n = 10 will be
**********
* *
* *
* *
* *
* *
* *
* *
* *
**********
The explanation given in the question is really vague
1 Like
Thanks for the correct explanation
1 Like
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.