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.
it's a bad desc!!!!!
The trick is that you can solve it without understanding the problem.
Just check at the suggested answer and produce an algorithm that will produce the expected answer.
It's a no-brainer.
Are you sure it's not 46x0 ?
This comment is hidden because it contains spoiler information about the solution
it happens!
Fixed.
This comment is hidden because it contains spoiler information about the solution
Actual and expected are swapped in PHP
This comment is hidden because it contains spoiler information about the solution
thanks I will check it out.
Ok, My code outputs the right answer but if I test it, i get passed 0, yet I have the same answer that should be asserted. Can someone kindly help.
personal opinion but i feel that the problem should specify that each break can apply to one and only one piece of chocolate (i.e. you cannot have one break applying across multiple pieces of chocolate)
This task has really poorly written description, which lead you into wrong solution.
Per the description:
Use spoiler flag next time, please.
Loading more items...