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.
Needs performance tag. Needs clarification that every second person is to be unsurvived ( do not rely on examples - specify such things ).
With the performance requirement, it might have a place next to Giacomo's kata that is bloody linked from the "similar kata" under the description, but the performance requirement has to be clear. ( adding explicit text to the description would be preferable to just a tag! )
As said elsewhere, you're overflowing native
Number
s. You could rectify this by supporting Node 10.x ( which you really should anyway ) and usingBigInt
s.But without random tests, you're headed for retirement mighty quick. Did you read the documentation on creating your first kata?
Needs random tests.
One of the test case has expected result
5534023222112866000
, which is past the safe integer limit and so is suspected to floating point errors.Initial code has the wrong function name.
Duplicate.