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.
It's
expected your answer to equal expected answer
, so the expected value in the error message is 1 not -1. -1 is the value your function returned. Not a kata issue.[[1,1,1],[0,2,2],[0,0,0]]: expected -1 to equal 1.
The test expects -1, although the correct answer is 1.
Yes, you're right, I don't know why I did it)
hey friend you already passed the key up in the EggList copmponent there is no need to pass it again down in the EasterEgg
Yes, I agree with you. And your solution is very accurate
If this solution is correct it means tests are weak.
C Translation (author inactive).
Amazing Kata!
WTF?? ))
IIFE & NFE & recursion
Ok, but why? )
Really good solution!
I see this is the right test:
tailAndHead([1,2,3,4,5]) should return 945
Perhaps you forgot to correct the description? )
According to the description "The key has to be shortest of all possible keys that can be used to code the message: i.e. when the possible keys are 12 , 1212, 121212, your solution should return 12.". 19391 and 1939 may be used as a key. 1939 is shorter. I hope it helps.
I completed the first two katas.
But this does not change my question.
Loading more items...