Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
thanks to the guy who provided a solution
I love this Kata. Although it is simple, it contains some math tricks.
I found the kata interesting, but I agree that the explanation could be clearer. I spent a lot of time trying to interpret the logic behind the examples and the relationship between cuts and red cubes. Perhaps including a more detailed visual representation or reviewing the description would be very helpful to avoid confusion, especially for those just starting out. However, I enjoyed the challenge of finding a solution! For those who are still stuck, my tip is: visualize the problem in 3D, this helped a lot in my case. 😊
if you wanna rid of novices, just tell us in description of this kata
I've been agonizing over composing a formula for a long time. I had to look at the solutions. The formula turned out to be quite simple :)
Rejected by someone
The description mentions 0 cuts. Many solutions will be invalid if 0 cuts were tested (python)
In the second image it is 1 cut by dimension, 1 in x axis, 1 in y axis and 1 in z axis. The last image with 2 cuts by dimension, you get 27 cubes, but you only have 26 with paint on them.
The color issue is really important! Then think about counting all the cubes! How to do it the easiest way. In the end, the solution will be in your pocket.
was frustrating for me too, but I think it's a good Kata.
The explanation can be better and the images don't help so much, but the question is nice for practice.
U need much more mathematics than algorithm
so much more, haha
Approved
Approved
Scala translation
Loading more items...