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.
Rejected:
Fixed tests should not be shuffled
No random tests (shuffled tests from a pre-defined small range do not count IMO)
describe -> it
block structure should be used. Currently assertions are presented at the top headers...Using outdated JS framework (
mocha
+chai
should be used with Node 18. enabled)Test.assertDeepEquals
exists back then so it should be used instead, which is equivalent toassert.deepEqual
as of current standards :-)shuffle
function will run forever if the array has a length of 1000 or beyond ... it should be modified to not generate randomness based on input length, but something else. Or even better, use built-in fromlodash
...Kindly read the translating guidelines before publishing more translations ^^
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Really struggling on the last Bomb; I can see the body of the diffuse function, but I can't figure out what it's even trying to accomplish. Do both parts need to evaluate to true or something? Totally lost, would really appreciate any help!