To print a hollow rhombus pattern

please share the link of the code as the solution is in java only i am not able to see in C++ with logic too

is any of the TA listening please send me the code of this problem

hey @akshat42bajpai you can refer this

see i got your code but i want someone who can explain the dry run of this…this code is really confusing for me

Try to dry run it, you will get the intuition.

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.