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.
It’s so frustrating when the sample tests pass, but Random tests don’t!
Python (all versions):
This happens in both sample and fixed tests
This comment is hidden because it contains spoiler information about the solution
This is a minor and admittedly picky suggestion that doesn't affect the Kata's functionality. The original description was likely written with an object-oriented language in mind, which explains the reference to a "method".
The only change I'd suggest is updating the C language description to use the term "function" instead of "method", since C doesn't support methods in the OOP sense. Here's a fork with that small wording adjustment, in case you'd like to merge it:
https://www.codewars.com/kumite/68912a45d61d89e470fe3b6c?sel=68912a45d61d89e470fe3b6c
Again, this is purely a cosmetic change.
We need to know what happens after the home return!
Is there any continuation to the story?
What happened to that poor cat?!
How exactly does one "fumigate" a house full of hundreds of mumbling, catatonic clones?
Did the original programmer ever get their Codewars ranking back up after this disaster?
So many questions without answers!
Hey friends, I need your help. I’m really confused and not sure I fully understand what’s going on. Can someone please explain this to me?
Why:
=== ===snake=========
'snake' should equal '??' ?
==a======a=a=a=lig===a=t====o=r=r=r=r==
'alligator' should equal '??'
=====k====r=a=vvvv==d=d=d=d=r==a=a=======
'??' should equal 'aardvark'
Surely I am misunderstanding something because the task has been solved many many times in python.
The python sample test contains this example (2025 June):
But in the notes of the description it says: If multiple of the same words are found in a row then plural rules apply.
Wouldn't one rather expect: "You and you are fired! I am really furious."
I would very much appreciate a hint.
C translation sample tests don't show actual and expected values
now on dart
Translation Dart
JS tests generate warnings:
Haskell translation
Python, possibly other languages: tests are susceptible to mutation of input and either crash or show incorrect visualisation if a user solution mutates input
tree
.There are snakes at the end of the
board
in Go tests. I've created a fork that fixes this bug. Could someone approve it?Fun problem, although a little easy for 5kyu.
One suggestion: It would be nice if an example showing multiple lines was included in either the description or the sample tests.
This comment is hidden because it contains spoiler information about the solution
Loading more items...