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.
yes! that worked! Thank you for taking the time to help
@mmdotz I don't know what your code/solution looks like, but try commenting all your code and just run "p message". The test cases should appear in the "Output" pane.
I must be missing something. I added 'p message' to the code I wrote that passes 29 of 30 tests, inside of the last 'end' of the method. The argument 'message' is not being printed anywhere that I can see, either to the screen on codewars.com or in the console. Can you clarify?
Yes, there is a way to see what tests fail without forfeiting the kata/challenge.
Ruby Example:
JavaScript Example:
This comment is hidden because it contains spoiler information about the solution
You must give another look at your algorithm because your return is not good.
This comment is hidden because it contains spoiler information about the solution
May want to indicate which version of each language the kata is written in. My solution does not pass in Ruby 2.2 because of the use of a newer proc.
I think this test has unresolved issues.
Help me please! That is not correct kata. Hidden test:
[ -11, -1, 1, 9, -3, -15, -6, -7, -3, 13, 4, 5, 10, 13, -9, -7 ]
input: [-7] - Expected: 1, instead got: 2
But, right is number 2 (-7), and test speek what right - 1. Why?
This comment is hidden because it contains spoiler information about the solution
Matt - How can I do this? Thank you, I'm new to the website.
You can print the arguments passed in to the console to see where you are going wrong, which is a better option than forfeiting eligibility ;)
You can click on the link to "Show me the test cases/forfeit eligibility". But you would forfeit this kata.
Loading more items...