Ad
  • Custom User Avatar

    @jcsahnwaldt, seems like there's no progress anymore :(

  • Custom User Avatar

    Hmm, I would like the solution to be efficient also.
    Maybe we could add that to the description?
    I think the test that call stack is actually exceeded was a good one, since it eliminates a lot of the cheat solutions. Then the difficulty of this kata might also increase a bit :)

    What do you think?

    btw, do you know if tagging users do actually notify them?

  • Custom User Avatar

    Let's just keep that test case removed for now.

  • Custom User Avatar

    It's a good question. I would maybe say that if the solution can't handle a limit betweeen 20k and 50k, then it isn't good enough?

    I don't know what's best.

  • Custom User Avatar

    @jcsahnwaldt, I added an additional test case, that expects the function to throw maximum call stack size error when called with a huge limit. I think that would catch some of the cheat solutions, but that test could also be easy to check by throwing an exception if limit is greater than a specific number. Anyways it doesn't hurt to have it :)

  • Custom User Avatar

    Thank you very much!!!

  • Custom User Avatar

    Nice, that's great!

  • Custom User Avatar

    I can live with this, you have to know the preloaded code to know that I use Error.captureStackTrace. And these hacks are IMO as hard as the actual solution :)

  • Custom User Avatar

    I marked your comments as spoilers, even though we fixed the ways to hack it, the comments might help others find new hacks :)

  • Custom User Avatar

    Nice :)

  • Custom User Avatar

    Looks good!

  • Custom User Avatar

    That's great, then I guess that the cheats we didn't catch are allowed :)

  • Custom User Avatar

    Ha, was just about to edit the kata, and then saw that you made the exact same change :)

  • Custom User Avatar

    Thanks, should be fixed now :) Check the preloaded code.

  • Custom User Avatar

    Cool, hope to get some more votes soon :)

  • Loading more items...