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.
There's nothing wrong with the kata tests.
11553 => 300
22334 => 0
55111 => 1100
11222 => 400
This comment is hidden because it contains spoiler information about the solution
Each number represents a dice value, you must compute the score according to the rules given in the description.
Your solution fails following test cases:
testLeadingSpace
with input" camel case word"
, andtestTwoSpacesBetweenWords
with input"ab c"
.Did you check these inputs in your IDE?