two years late, but you and I had the exact same issue. there is a way to solve it though; think of how you would solve this on a square grid, and notice what the algorithm behind it actually does to each individual piece.
Hi guys. I've found that this task was resolved with two incapsulated cycles by the numerous of developers. Here's my solution with the one cycle. Cheers.
You'll see all solutions when you upload your own.
haha lol, its just that when seeing "There is no solution to show" pop up, I thought you had already given up on this kata.
Hi man. I did it already ) Let me know if you need a help with theory. Cheers.
two years late, but you and I had the exact same issue. there is a way to solve it though; think of how you would solve this on a square grid, and notice what the algorithm behind it actually does to each individual piece.
This comment is hidden because it contains spoiler information about the solution
Hi guys. I've found that this task was resolved with two incapsulated cycles by the numerous of developers. Here's my solution with the one cycle. Cheers.
P.S. I hope string.repeat doesn't use cycle LOL )