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 comment is hidden because it contains spoiler information about the solution
The
suggestion
tag should be used for giving potential improvements to the kata itself, this is just a solutionThis comment is hidden because it contains spoiler information about the solution
Please do not share solutions in kata discourses.
This comment is hidden because it contains spoiler information about the solution
In Haskell there are functions named minimum and maximum. So it's not possible to use this names. The solution is pretty simple.
This comment is hidden because it contains spoiler information about the solution
Java:
actual and expected are swapped for sample and fixed tests
reference solution should not be in preloaded
Missing useful assertion messages
I forgot to remove echo and put return, stupid mistake cost me several minutes. Thanks for asking.
What language do you try?
This comment has been deleted.
That means your function returned
-52
, but the expected return value is-110
. In other words, your function is returning the wrong value.It keeps saying: Expecting -52 to equal -110. I don't think that's possible...
do you teach. you made than very logical and understandable. thank you
good ol ternery operator man. I always feel a sense of "oh yea i could of just done that" everytime i write an if/else statement, than come here to see others solutions.
Loading more items...