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.
How am I supposed to handle multi-byte katakana, especially given that test cases are called with key="" alphabet=""?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Quite an easy question to solve. However, there should be a mention to someone new to codewars how to supply a string to the function. If it wasn't for one of the comments, I wouldn't know that you have to use
this
keyword. The description needs more work.It was fun!
But it's kind of daunting to spend an hour and see that the answer in the solutions is so compact while yours is so long :p
How do you even come up with those super smart solutions ?
I didn't want to click train before I read the description and had an idea of what needs to be done. Is it just me but does not the description provide a description of whitespace but not actually states what needs to be done i.e. an objective, an output etc.
python new test framework is required. updated in this fork
Scala translation
TypeScript translation (literal translation of JavaScript)
TypeScript Translation
This kata is a subject to deduplication process here: https://github.com/codewars/content-issues/issues/203.
Please join the discussion to help us identify duplicate kata and retire them.
Hello! I would suggest to add one test case with empty string(not a realistic tweet though) and one with a single character.
How are we suppose to handle katakana (Japanese) alphabet? All my tests passed except with katakana alphabet.
Scala:
These cases only occur in the random tests and it's not clear from the description which result is correct.
Scala Translation Submitted
Loading more items...