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
can you explain how this works?
no details, closing
just a little bit of refactoring for original solution
Thanks. Will add to all versions.
I think I found the problem. It doesn't handle palindromes very well.
This should fix it.
The code was visible. I didn't even look at it.
Sorry. I won't waste my time trying to understand someone's code. That's not what codewars is about. If you feel so strongly about it, be my guest. All I need is the tests to be added.
Wasn't the code snippet visible?
Try here https://www.codewars.com/kata/reviews/5bc07f4ab15f683bf9000a08/groups/5f7af42d8ef120000190ba78
I'd be glad to give you one but I'm not sure why the code doesn't work. I tried to figure it out but random cases are so long my eyes are crossing and it becomes unreadable.
Well I just wanted to point out that with this solution random test cases sometimes fail. Sorry I couldn't be of any more help.
What invalid solution?? I can't read his mind or yours. Give me a test and I'll add it.
Uh, the fact that invalid solution sometimes passes and sometimes not kinda is a kata issue, isn't it? It means that tests are not comprehensive and sometimes do not generate some edge test case.
Not a Kata issue.
I think it depends on how you solve it, but in the general case this feels 6kyu-ish to me as well.
In ruby always that it tries with a huge string that doesn't have asterisk it says that expected false , but I verified the two huge strings and they were equal, what would it be?
im sorry, but it does not look like 7k kata, more like 5-6
Please post the tests(on which you think there is an issue) here.
Loading more items...