Ad
  • Custom User Avatar

    Description should be language-agnostic

  • Default User Avatar

    does not specify wether the sorting can/should mutate the input array (like the builtins in Python and JS) or return a new instance

  • Custom User Avatar
    • Node 12 should be enabled

    • assert.strictEqual should be used

  • Default User Avatar

    A minor typo in the description: we will not get number that can be divide[D] by 5

  • Custom User Avatar
  • Custom User Avatar

    The description is absolutely terrible. An example is not a specification - and especially an example which is literally gibberish.

  • Custom User Avatar

    There's an earlier kata that had us dissecting email addresses. I'm too lazy to find it and see if this is a duplicate or not, but that one suffered from the same issue Voile has with this one:

    Email addresses are fscking impossible to dissect.

    This kata seems limited to returning the part after the last "@", which is a huge simplification of actual email addresses.

    That's OK, but it should be specified, not just illustrated with some arbitrary and necessarily incomplete examples, and you might as well leave "email address" out of it entirely.

  • Custom User Avatar

    Please do your homework yourself ;-)

  • Default User Avatar

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

  • Default User Avatar

    Im' really uncomfortable with what ZED is suggesting, as I told you about on the gitter channel... :/

    other than that, specs are incomplete:

    • tell that there can be duplicated lines (and all of them matter)
    • tell that the order of the actions matters too (a query before an insertion of line)
  • Custom User Avatar

    Needs Random Tests.

    Let me guess, you are trying to solve your homework or something by posting it on CW, right?

    Also you forgot to remove the dummy JS version.

  • Default User Avatar

    @Belia: looking at the solution page, it seems there is a big problem, right now.

  • Custom User Avatar

    Needs edge cases such as int[] t = new int[] {0, 0, 0, 0, 0 ,3 ,0 ,0 ,0 ,0 ,0 ,10 ,0 ,0 ,0 ,0 ,0 ,0 ,3 ,0 ,0 ,0 ,0 ,0, 0};

  • Custom User Avatar
    • Missing initial code.
    • Needs Random Tests.

    Did you accidentally click the publish button?

  • Custom User Avatar

    (JS, possibly others)

    Would not an Object be a more appropriate datatype for solution ? Also, should not the numbers in there be actual Numbers, instead of Strings? You're using the values as numbers after all.

  • Loading more items...