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.
What about empty array?
Yes, I was going for an easy solution and did modify the original. Sorry.
Good to know! Thanks for pointing that error ;)
I tested both. Example tests and submit tests. It works now!
Thanx for correcting!
I assumed that you are refering to the Example Test Case of C# version.
So, I updated it. Is the issue now solved?
The lines 13 to 17 must be changed into this:
This should work for the example tests.
Thanks! It should now be working. :)
Which language?
Adding "[Test]" before the methods was right.
Change "int rand_lng = rand.Next() % 15;" into "int rand_lng = 2 + (rand.Next() % 15);"
This should work!
As previously stated, you should not change your array in place; anyway, test code (not done by me, but still...) modified to accommodate for that.
Sure thing ;)
I saw the usage of ... in some solutions.
Can anyone please explain ... in javascript?