Ad
  • Custom User Avatar

    Empty string and single-letter string should be added into fixed tests.

    Otherwise, description should state that they won't be tested.

  • Custom User Avatar

    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.

  • Custom User Avatar
  • Custom User Avatar
  • Custom User Avatar

    @anter69 could you check sailskisurf23 post above if you can edit this kata description?

  • Custom User Avatar

    Not editable if you don't create it as an issue (unless the author does it).

  • Custom User Avatar

    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'

  • Default User Avatar

    Hello youngfeldt, thank you for a fun, very educational kata.

  • Custom User Avatar

    Try solving a TS kata and see the tests it uses. It seems you have to write this 2 lines first

    /// <reference path="/runner/typings/main/ambient/mocha/index.d.ts" />
    /// <reference path="/runner/typings/main/ambient/chai/index.d.ts" />
    

    Then you can do this:

    import {assert} from "chai";
    

    And use assert.equal(actual, expected)
    That is as far I can go with the TS test framework, hope it helps.

  • Custom User Avatar

    Is there something I have to do to move this out of Beta ?
    All issues were resolved months ago.

  • Custom User Avatar

    Updated description and random tests a bit.

  • Custom User Avatar

    Fixed.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    fixed/added random cases for Python, Ruby, Javascript adding 100 cases for each.

  • Custom User Avatar

    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...