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 have to concure with j.pihlgren, it is not clear what you are saying at all. If you are going to critique the solution could you please provide a better explanation as to what is expected as what is presented is not clear at all.
Moving on, failing any solution just because you don't like it limits the creativity of everyone involved including yourself.
If something solves a problem it is valid, period.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I found that out as well, just changed the test code to what it should be, but the actual test are broken as well for the last test I get
returns 'nopqrstuvwxy`abcdefghijklm' should equal 'nopqrstuvwxyzabcdefghijklm'
and the rules are that any special character should be ignored, but here it is not.
This kata instructions are flawed.
So it gives us 26 as a test case, the sum of all numbers 1-26 is 351.
[[1, 175], [3, 87], [7, 43], [10, 31], [15, 21], [21, 15], [31, 10], [43, 7], [87, 3], [175, 1]]
Each number in this sequence can resolve the rules,
351 - 175 - 1 == 175
175 * 1 == 175
351 - 87 - 3 == 261
87 * 3 == 261
351 - 43 - 7 == 301
43 * 7 == 301
351 - 31 - 10 == 310
31 * 10 == 310
351 - 21 - 15 == 315
21 * 15 == 315
All the above are solutions to the problem but his only solutions are 15, 21 which is incorrect. Just doing the math on paper proves that. So the rules need to be revised because all the needed information is not provided.