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.
this answer is wrong but the tests dont cater for it so it passes , input of 1,2,4,5 would give 1,2,4,5 instead of 5,4,2,1 respectively
You mean outside of this problem of adding goals? What would you suggest?
One downside with this is that you don't have a clue what you are adding together. (for instance, what is b?)
Thanks for adding this! Looks great.
White katas are getting harder :\
Ok, thank you!
Hi,
You misread something somewhere in your logs: the internal solution returns 3 for this input, but your own code returns 4 and not 2 or 3. ;)
This comment is hidden because it contains spoiler information about the solution
Try your code with this input value:
new int[]{1,2,3}, 2
and see what you get.This comment is hidden because it contains spoiler information about the solution
No problem.
Yes, sorry about that. My mistake.
Your code was wrong, you used
salds
instead ofsalads
in the last line, so it was a problem with your code and not with the kata.This comment is hidden because it contains spoiler information about the solution
That's a typo on your code, check it and fix it. Also remember to specify the language I assumed it was Python.
Loading more items...