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.
Thanx for Your answer, and advice))
It is strange, that U don't see my solution. I've solved it, ofcourse not in optimal way.
Hello Kanstantsin-Sabaleuski,
I apologise if you think this Kata is a bit underrated - in case you are not aware, the difficulty of a Kata is determined by the community and the moderator approving the Kata, not the author.
By the fact that when I click "View Solution" it says that there is no solution to show, I'm assuming that you are currently stuck on this Kata and am unable to complete it? If that is true I'm more than happy to give you a hint - no Ruby (or Javascript, if you're attempting the JS version of this Kata) methods have been disabled in this Kata so if you research all the
String
methods available in Ruby/Javascript and choose the correct one to use, you should be able to complete this Kata in one line of code.By the way, look at
this
(comment/response) carefully - once you solve this Kata, you will be surprised how straightforward this Kata is yourself
*.Cheers,
donaldsebleung
Thank you for the feedback; I will update the description :)
EDIT: Description updated, thanks again for the feedback.
I think this kata is quite hard for 8 level ))
7 will be allright.
The problem was in buttons. As there is now tests, the button "Run tests" don't work and returns an error. So U should just push "Submit".
The problem was in buttons. As there is now tests, the button "Run tests" don't work and returns an error. So U should just push "Submit".
It always says to me "Test didn't pass: Unknown error"
I've copied it to Sublime 2, save and run in a browser (Chrome) - OK!
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
There are no user test cases because they would reveal too much about how to solve the kata.
It's such a quick and easy kata that there isn't really any need for creating your own.
Should I write my own tests? The test field is empty (only some examples under "//");
p.s. JS is used. I've successfully passed two katas after this.
Are you sure this wasn't a general codewars issue? Do you keep getting the same unknow error on submission?
Test didn't pass: Unknown error