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.
@JossGenre, wrong if space will be on the beginning.
Approved
approved
the
issue
part is that tests useexpect()
, which results in bad assertion messages. Re-raised above.But your code is wrong, because it does not handle large numbers correctly => the tests expect exact, stringified results
JavaScript:
O(n²)
solutions pass the testsBigInt
s should be used for the outputbignumber.js
in the description is now obsoleteretrocompatible fork fixing all
I have Unspecified AssertionError for Small and Big random tests in JavaScript.
Really nice kata, good job.
How was this a "copyright infringement"?
python new test framework is required. updated in this fork
python new test framework is required. updated in this fork
I must be missing something, as slow solutions using increments pass this kata (in JS). Is the difficulty the same across all languages?
I see no relevance in these statements (I only solved JS)
Reference solution in JS is too slow. Please pick a faster one, like mine for instance.
What counts as "struck"? This is not explained.
Conflict in spec. It's not clear whether we need to wait for 3 strucks, or the first + 3 next strucks (= 4 strucks).
In your example, it hits 4 monsters, but spec says stop if 3 monsters are hit. What's this about? Nevermind, the spec is contradicting itself, I'll log an issue.
Loading more items...