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.
like this:
longer pieces are not valid because they would contain some separations.
EDIT: sidenote: I see you didn't solve the easy version yet. If you plan to solve the present one first, don't post the same solution in the easy version. Prune out the irrelevant parts of the code first, thx.
What will happen for the shape below?
It can be spilt to four
centainly. But which one should
be regarded as, one
or two
?
This comment is hidden because it contains spoiler information about the solution
Keeps failing the "ATTEMPT". "TEST" doesn't fails because is using only 3 numbers to test it. I think it can be due large numbers or too much calculations. Mine rises to 50 passed then times out.
There are only 3 languages for this kata, either wait for someone else to add C++ or translate it yourself. Not a kata issue.
Where c++ is not supported for this kata?
All above points have been addressed.
cool practice
How did you come up with those formulas?
thanks!!
This comment is hidden because it contains spoiler information about the solution
Python fork, please review:
@delucas done
it looks like it needs a line above all tests...
require "set"
in order to enable the
.to_set
call. Otherwise, it fails for all tests...could you please update ruby version for that? Thank you very much!
/cc @dinglemouse @Blind4Basics
it's not a huge prblem, but it's not good when the user read one thing in the description and get something else in the tests.
you can use code blocks with languages, to make the description match python implementation, or you align python code, using lists of lists (yeah, I don't like it either, and if other languages "happen", code blocks will be needed anyway at some point...)
Another way would be to make the description language agnostique, describing the problem and examples without any actual implementation. Not always easy...
Loading more items...