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.
Empty string and single-letter string should be added into fixed tests.
Otherwise, description should state that they won't be tested.
Nice kata,but I think it would require some harder random tests that would only pass with some optimization to deserve its 6 kyu ranking. I find my solution very 'bruteforcelike' and it succeeds however.
Fixed
Fixed
@anter69 could you check sailskisurf23 post above if you can edit this kata description?
Not editable if you don't create it as an issue (unless the author does it).
there is an error in the examples in the description
'abbbbc' => 'abc' # answer: 3
'abbcca' => 'abc' # answer: 2 ####### the error is here
'ab cca' => 'ab ca' # answer: 1
should be:
'abbcca' => 'abca'
Hello youngfeldt, thank you for a fun, very educational kata.
Try solving a TS kata and see the tests it uses. It seems you have to write this 2 lines first
Then you can do this:
And use
assert.equal(actual, expected)
That is as far I can go with the TS test framework, hope it helps.
Is there something I have to do to move this out of Beta ?
All issues were resolved months ago.
Updated description and random tests a bit.
Fixed.
This comment is hidden because it contains spoiler information about the solution
fixed/added random cases for Python, Ruby, Javascript adding 100 cases for each.
Silly question - how od I approve you version? I'm not seeing it.
Nevermind, I found it with the link you included. Otherwise, I did not see a link to it(the fork) from the kata.
Loading more items...