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.
Tests have been updated to be more random, thanks for the help.
Random tests aren't random; they are entirely predictable.
Values, and ideally length, of the input list should be random, and
k
should be random or at least randomised.No fixed tests. Copy the example tests to the submit tests. There should be absolutely no possibility of failing the example tests but passing the random tests.
No test with
k = 1
. That means testing the specs is incomplete;k = 1
is legal according to the specs.This is incorrect.
next
is not a parameter;.next
has to be set after node creation.Random test has been updated. Thanks for contributing.
There are no random tests. The
describe
block says the tests are random, but they're all fixed.So the kata actually expects "4th Wednesday of the month" rather than "Wednesday on the 4th week of the month".
There are no universal definitions on how to count "n-th week of a month", unlike "n-th week of a year", which is well-defined in ISO standard. So you need to clarify what definition you're using.
Random tests have been updated. Thanks for contributing.
Sample test has been updated as instructed. Thanks for contributing.
The random test has been updated; should the number of test cases be considered?
The description has been updated as instructed. Thanks for contributing.
Node
API should be specified in the description.Also, if results need not be constructed from
Node
s, but any recursiveObject
construct withdata
andnext
properties will do ( as the Example tests show ), this should also be clarified in the description.2nd sample test includes
2022-01-01
, which is incorrect.You should mention if
dateTo
is inclusive or not.Loading more items...