oh yea, I forgot : D
Yes, this pattern rocks
1 Like
Please give ONLY submission link and remove this code.
This was exactly my thought process to come to the pattern. Nice!!
yeah same here…
For testcase n = 6, m = 1 you are using three different numbers, although two numbers are sufficient:
1
1
2
2
1
1