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.
I agree, I'm still unsure of what's being asked. Maybe include an description of how you expect a chocolate bar would be broken assuming both dimensions are >1? I think that would help.
Came here to say this.
In all the other options the increment determines how many items are returned in the array. Giving three 1s is just pretending that you're incrementing by 1 but not stepping up. Where does the increment of 1 come from?
The same, kata is easy, but it took a huge amount of time to understand what is going on here...
One example could have explained more than thousands of words...
I agree with this. If this hadn't been ranked at 7 kyu, I would have spent a long time working out how to optimally break chocolate in as few "operations" as possible. Clearly that turned out not to be necessary, but I shouldn't have to guess that based on the rating.
Fixed!
This comment is hidden because it contains spoiler information about the solution
I removed the
.
character from entering the test cases. At any rate, if you use the node.js built-in features, it would work regardless of containing a.
or not. Good luck :)Why? What kind of tests? Can you give examples...
Thanks for the kind words :3 I don't know about best, but I do try to have extensive tests!
i think an alternativ can be to leave it a little bit cryptic, but to increase the specified difficulty (6kyu maybe?) because, to solve this kata, a programmer needs to know also a little bit of regex.
does this make sense?
Thanks!!!
Thanks!
Thanks! ^^
+1 for the typo mistake