Ad
  • Custom User Avatar

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

  • Custom User Avatar

    The haskell tests are totally broken; there are several solutions that just return a static string that succeed. Please fix!

  • Custom User Avatar

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

  • Custom User Avatar

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

  • Custom User Avatar

    haskell:

    https://www.codewars.com/kata/reviews/54f8b568a58bce1dde000e4a/groups/664e6faff17a79216ed71bac

    The general issue here is showing up in other languages as well, but I do not know whether they are wrong, what I know is that I do not like this test pattern one bit. And that general issue is that the tests consist of checking for specific ways the result might be wrong, but doesn't actually bother checking whether the result is right. I would much rather see a line-by-line comparison (or even the whole block at once), and not have any of these remarks. Yeah, I get that having no reference solution is sexy. It's also difficult/complicated/error-prone.

  • Custom User Avatar

    TypeScript translation (literal translation of JavaScript; author inactive)

  • Custom User Avatar

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

  • Custom User Avatar

    The individual test run from around 20ms or 2ms but it still timed out ? Is my algorithm still inefficient ?

  • Custom User Avatar

    Hi, my code always run beyond 16sec. Here's the pseudo:

    //while last index is lt width
    //> get substring
    //> pass the substring to a method that will add spaces
    //>> (method that adds spaces): split the string
    //>> (method that adds spaces): loop to add spaces (one at a time) until length is eq to width
    //> append to output string
    

    Any suggestion on what part to improve? TIA.

  • Custom User Avatar

    I just published the R translation of this Kata.
    Please, check it out and comment or approve it.

    It is my first Kata translation, so I am open to any constructive criticism.

  • Custom User Avatar

    I am using python for this kata. I am getting an error "line starts or
    ends with a space. The only lines that end with a space are 1 word lines.
    All lines start with letter. I do not see why this is failing. Any help
    is appreciated.

  • Custom User Avatar

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

  • Custom User Avatar

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

  • Custom User Avatar

    Ruby 3.0 should be enabled, see this to learn how to do it

  • Custom User Avatar

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

  • Loading more items...