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.
Unpublishing as a duplicate of Generate range of integers
Verbose errors, show function call when mentioning error
I have to agree, especially to JohanWiltink's first point. This condition makes no sense. In case
edge < step
I would expect the function to return the array with with thestart
as its sole element.Also, I think I've done something very similar before ...
No random tests.
I don't understand why the result has to be
[]
when thestep
is bigger than theedge
. It's specified correctly, but it doesn't make sense to me.The example solution is doing lots of things that are not required to pass the tests. Also, its structure and indentation are a disaster. Is this what you want to showcase?