Ad
  • Custom User Avatar

    Yes, I just updated the phrase of the wording in the description. Hope it's more clear now.

  • Custom User Avatar

    Yep, that's the test-case-message that is wrong - but the Kata is already too popular to be updated...

  • Custom User Avatar

    I did an update of the tests. Can you try again and see if it helps you get the right solution?

  • Custom User Avatar

    Hi, the first tests on this array are done once asking for the 1st floor (which should return the 6 names), then for the 2nd floor (which should return no names).

    So once your function has to return all six names (floor == 1), then none (floor == 2)

  • 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

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

  • Custom User Avatar

    Was a wrong test-case, fixed (better late than never)

  • Custom User Avatar

    I updated to use the correct test-framework - did you try again?

  • Custom User Avatar

    Thanks for insisting - up to recently katas were not allowed to be changed once they were in "production" - thus my frustration and (near) abandon of the site. Instead of a "fork"-system I got the "re-submit" button back. Thanks!

    Now that I can change my Katas I'll start updating them. Starting with this one - I even found an error in my implementation :(

    Please tell me if the error-messages are more clear now.

  • Custom User Avatar

    Please - everybody upvote the "fork"-option for the katas. I'd LOVE to adjust the description - it's just that I can't, because the Kata is in "play-only" mode :(

  • Custom User Avatar

    I would really like to adjust the kata (and others) but I'm still waiting for the "fork"-system to be implemented. Once this is in place, I'll do updates... So sorry for the "value is not what was expected"

    I hope you learn a lesson to be applied in your test-suites and errors you give in your codes ;)

  • Custom User Avatar

    It depends on what you call "sorting". Yes,

    [4,15].sort() == [15,4]
    

    (which is really strange, by the way). This is one reason I use time zero-padded numbers for a long time already:

    ['04', '15'].sort() == ['04', '15']
    

    Which is correct. But thanks for the reminder ;) In the Kata I only test for alphabetic sorting, so this is not an issue.

  • Custom User Avatar

    Well, the solution to 0 is definitively [0,0], so if you return an empty array, I suppose it isn't correct...

  • Custom User Avatar

    Hi Jake, can you put this kata back in Beta, so I can fix the issues that people discuss here? For the moment, if I try to edit it, it only says "this kata can no longer be edited"...

  • Loading more items...