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.
Missing a test
assert.deepEqual( getDividers([127],[7]), [ 1, 127, 16129, 2048383, 260144641, 33038369407, 4195872914689, 532875860165503 ] );
.It's not often I propose performance tests, but allowing solutions to find factors by enumerating up to the given number that is passed in prefactored is ridiculous. ( And people vote it Best Practice, and that just galls me. )
( JS )
Random tests are vulnerable to input modification
In random test there are unsorted lists, lists with duplicates, ...
A random sorted list without duplicates can be generated with
Re-raising the issue below: please don't resolve duplicate kata issues unless you can demonstrate that your kata has an actual substantial part that is different from that duplicated kata.
Duplicate katas should be unpublished (or else someone will retire it manually anyway), according to kata rules they should not exist.