New course! Every coder should learn Generative AI!
Try a free lesson- 2
How to print a pattern like this: 33333 32223 32123 32223 33333 For beginners. Please provide the solution with explanation.
6 Answers
+ 4
What have you tried so far? Please show you attempt.
+ 2
Go to Code section, click +, select the programming language, insert your code, save.
Come back to this thread, click +, Insert Code, sort for My Code Bits, select your code.
0
I wrote some code but it even doesn't get compiled. I also checked out the solution from the web, but I didn't understand that.
0
If you need help, LINK your code attempt so we can check on it.
0
I ain't able to understand how to do it. So, I need help.
0
I think this can help:
https://www.geeksforgeeks.org/print-concentric-rectangular-pattern-in-a-2d-matrix/