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.
Sorry for that, I didn't know! Thanks.
Always use the spoiler flag when discussing solutions. I have added the flag to your comment.
This comment is hidden because it contains spoiler information about the solution
Thanks for pointing that out, didn't realize that when I was first learning to code.
You don't need to use
break
afterreturn
Fixed
On the C++ version of this kata, the sample test case is missing
Describe(ElementSum){
it gives an errors if you dont add it in yourself, some may have trouble with this.
Ahh, yes, thank you for pointing that out, that makes perfect sense.
Every time the first element of your
||
clause is0
, a legitimate value, you still use the default value.This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Yes, I was returning it as a string, it was expecting a number, once I converted it the test passed.
Loading more items...