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.
You are absolutely right! Already changed :)
Should the reference solution be
export
ed from the tests, with a predictable name? I know nothing of TypeScript, but this might be a vulnerability.Surprisingly similar solutions :D
improved the examples
Checked and resolved!
The examples are formated really lazy, the function-like form and
// your code
in the examples are totally unnecessary.Raising as an issue: the specification really needs to explain what does it mean "possible numbers". Currently it's not described other than with examples which have to be analyzed and users need to deduce what is the actual requirement.
Resolved
Resolved
It is not clear how the output numbers should be ordered, and how to handle duplicates. What is the expected answer for
getNumbersOfRange('4444', '40-50')
?expected
andactual
seem to be swapped in random tests,chai.config.truncateThreshold = 0
could be helpful.The specification really needs to explain what does it mean "possible numbers". Currently it's not described other than with examples which have to be analyzed and users need to deduce what is the actual requirement.
But in general I think the idea behind the task is not bad, but execution and implementation has to be significantly improved.