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.
Are you sure? I don't know where to check and imagine it would try to apply the patch, which doesn't have the shortened examples in its context, let alone content.
This one will try to execute the result of the substitution, not something one often wants (dangerous).
There were some kata 7 too, but it was so simple I didn't report it — the description had test cases, so it was a tiny TDD exercise in itself. I'll let you know if I stumble upon any more.
If you have to use so much factorials, have you tried memoization? The cleanest solutions take a look at the math first though.
As usual, you have an infinite loop.
Shell is missing sample tests. This time I needed 10 before succeeding. :O
7+9 < 7+10
Shell is missing sample test cases, so one has to submit to see the format (usually friendlier than this python list). Here you go:
Ok, the test failures were just this bug: https://github.com/Codewars/codewars.com/issues/690
This comment is hidden because it contains spoiler information about the solution
Ah, I see — the sample tests hadn't been updated for the fixes in the main suite. Fixed, thanks. Also the (cosmetic) invocation.
Most translations didn't bother adding extra code blocks. I guess the translators found them redundant.
Running doesn't work today at all though, strange.
Shell has no sample tests, so one has to submit to see the input and expected format (likely both string, one can't pass arrays around).
Shell translation added.
Is there a solution approach where that would matter at all?
Looks like a duplicate of this one that's already accepted: https://www.codewars.com/kata/585d7d5adb20cf33cb000235
Loading more items...