Ad
  • Custom User Avatar

    Sorry, i forgot to mention that.

    i did this in c#

  • Custom User Avatar

    added a second layer of protection.

  • Custom User Avatar

    Yes.

  • Custom User Avatar

    Help us help you. Tell us which language you're having these problems with.

    Closing.

  • Custom User Avatar

    What language ?!?

  • Custom User Avatar

    Help us help you. Tell us which language you're having this problem with.

    Closing.

  • Custom User Avatar

    I changed assertEquals to assertApproxEquals to deal with floating point inaccuracies. You should have done this in the first place.

    It would have been acceptable to remove the wrapping class from your translation. In JavaScript, it adds nothing but confusion. The description could have been easily customised for JS.

    Compliments on the random generator! That's a nice piece of work.

  • Custom User Avatar

    Help us help you. Tell us what language you're having these problems with.

    The JavaScript translation meanwhile has been fixed to allow for floating point inaccuracy.

    Closing.

  • Custom User Avatar

    Help us help you. Tell us what language, and markup your code as code ( with triple backticks. the unintended markup in your code renders it unreadable. * and _ actually mean italics .. ).

    "List index out of range" sounds like a code issue, not a kata issue actually.

    Please check your code for list indices out of range, and reraise a Question if you're still having problems. With code, marked as a spoiler ( you got that right ).

    It's not completely impossible that you have found a kata issue, but ATM, it's unlikely.

  • 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

  • Default User Avatar

    Print the input.

  • Custom User Avatar

    my code make every single test exept Test1a can someone tell me whats diffrent there then by the others?

  • Custom User Avatar

    Your code is sorting the strings in ascending order of length, and then joining k of them from the back, that's wrong. Your code should obtain the longest string made of k consecutive strings from the array that is the longest (and if there is more than one with the longest length, then your code should return the first one).

  • Custom User Avatar

    i sort after the length of the String (6-11) and then i take the longest ones out of my list at 17 - 21. it workes, exept the Longest K String are the same lenth. then it says it does not work.

  • Loading more items...