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
TypeScript sample tests broken with error:
TSError: ⨯ Unable to compile TypeScript:
test.ts:1:22 - error TS6053: File '/runner/typings/mocha/index.d.ts' not found.
What is
even-count occurrences
?I guessed the task by looking at the examples, but not by reading the description.
Golang random test still fail.
Expected
: rUGzdJLvG ZS yD iYxLQj iRSVLgN UzUoRzDO
to equal
: rUGzdJLvG ZS yD iYxLQj iRSVLgN UzUoRzDO
Even with the added requirements of removing non-alphabetic characters (a simple regex-replace) and encoding only lowercase/only uppercase letters (a trivial ternary expression), this is a regular RLE which is not novel at all.
It's not clear if input can have multiple consecutive spaces, leading and trailing spaces. From JS and Python it looks like it can't and published solutions work in different ways in those cases, so it should be specified in the description.
Needs a test case where some words are a substring of previous words.
Example: "starborn star"
Don't just have a gazillion huge random tests.
Don't just have a gazillion huge random tests.
Submit testing only has random testing with huge strings. That doesn't really help debugging. Include fixed testing as well, with smaller strings. Useful edge cases would be an empty string and a string that includes
\n
.