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.
I would like some clarification also. I was getting correct results for {a: null} also, but then this [3,6,9,null] thing. A test for that specific case is needed to show what you mean by that.
We have updated the documentation. With the rollout of our new Docker system we now support Ruby MRI 2.0.0.
I second this question.
It takes a while for mine to appear, also. If you want to look at it right away, or comment on it, you can go to: http://www.codewars.com/users/zishe/completed_solutions and it should be there.
Ah-- that may be it, yes. Have a look at the other solutions. If your solution is similar enough to another one, it could be lumped in with it; your username should appear in a list above the solution.
After you pressed "Sumbit", and it passed, did you press "Submit Final" again? This will finalize the solution and it will be posted to the Solutions tab. Otherwise, it will not appear.
This has been okay for me; haven't had to re-login for quite a while. I do go on here near every day though, so maybe that's why.
This is absolutly correct. I had to change undefined to null in order to pass the tests. It should be corrected.
There is no point in wrapping those in strings and doing interop on them :)
I am not sure what you mean by one message and cheating.
Sorry, I just looked over the example test cases and I don't seem to see your above example. The test case for that should exclude 1 from the array and I belive it does. This is copeied and pasted from the kata.... Test.assert_equals([5,5,8,30,31,32], GroupByDifference.new(numbers).find(3))
Thank you for the feedback,
Your test cases showed me I had some problems with my code, and I refactored.
Sorry for any frustration, and thanks so much.
Cheers,
It should be false as the 7 in the middle is not on the right nor on the left (It should be ignored)
I've made the instruction wording clearer.
Thanks for your feedback.
Then they need to fix that because for a coding test... unnecessary complication should be avoided. We are learning ruby for a reason after all!
Loading more items...