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 figured it out, or it doesn't matter after three years. Closing.
Something tells me he did it because zeroes look cool like that!
Would somebody care to explain how this works?
You have same problem as I))
Watch comments here: http://www.codewars.com/kata/reviews/554660da0240a7b6f800016d/groups/56b4e647e18bbbe788000034
I'm not sure it is. I had a preoblem with the random test cases. Ichanged my program to take into account different sized lists, and it works...
Here is the equivalent in Python. One still has to implement some random solutions...
There are faster ways than typing out all the zeroes. Imagine, say, that you had to write a similar program for 10 times as many solutions: you would start to regret this method...
"Order doesn't matter" is the message. What does it mean?
My pleasure to help a fellow codewarrior for the little help I can offer :)
This is my code at the end of my program but it tells me "Unexpected token at 'else{' " and if i remove the semi-colon, it says "Unexpected token '(' at '});{});' "! What is the problem!
if (stuff){
stuff here;
};
else{
stuff here;
};
return spoiler;
Thanks!
Either that or you just hits [Submit] and see if your work passes the complete tests (the ones you can't see, each kata has to have some of them), yeah.
And don't think that is necessarily bad: being able to test and debug is at least as important as being a good designer.
So, i need to write test case by myself?
That is not a bug: some kata (particularly older ones, I think) was simply designed with no example test cases, so that the user could write the testing part too.
Imho it is not the best practice, as the creator can easily put on some test and then let the user modify or increase the number of tests. But definitely not a bug :)
Why in some of my kata "Your Test Cases:" is empty?
http://i.imgur.com/by2M7Cd.png?1
Loading more items...