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.
needs this tests cases : ["moa", "moe", "moi", "moo", "mou", "mua"]
which order ? order of appearance in the input ? alphabetical order ?
also, the Python code snippet should be removed, users do not need that kind of help for a 5 kyu, and it is unfair for users of other languages
needs tests cases where the same word is part of several solutions, e.g.
Fixed in the latest fork
clearly not if it fails tests.
if a test case is found that your code fails, then yes you should look at that test case.
it's not mine any more than it is yours
yeah that's gibberish. but you can still look at the test case, as mentioned, by printing, which is quite common on codewars. and you won't get that test output any more (you'll need to reset to get the new basic tests or just use the test/submit button instead)
you haven't shown anything to be wrong
I understood. The test asks for a list of lists. Even if there is only one solution.
fixed, and @avermakov added some random tests
show, don't tell. provide actionable information.
(and in particular, because comments worded this way (saying there's a problem but not demonstrating it in any way) indicate that you haven't understood what happened and as such you don't know that the problem is with the kata rather than with your own code, and if someone that doesn't know what happened wrote code, then it's probably that code which is wrong. it might not be that way, but if it is that way then you're likely to express it like you did, and therefore when someone expresses it this way then it usually is this way)
this kata for python wasn't providing much more feedback than "wrong", but I mean you could still print and you're 2 kyu so you know that. just the same, I approved an update that was pending with better feedback which will show you input/output
My solution works for me in Jupiter Notebook. But something in your tests does not allow it to work out correctly. Check it, please.
I copied the js tests
however, the random tests are just subsets of one of the fixed tests. basically, the kata isn't finished.
Python tests need a major overhaul:
Your tests don't see my solutions. I don't know why. I understand that they are not all correct and complete, but where the solution exactly works, I see the red message. Check it, please.
This comment is hidden because it contains spoiler information about the solution
PHP translation to be evaluated
Fixed just now.
Loading more items...