Ad
  • Custom User Avatar

    Agree. I lost time on this one and imho ["blue"] was a good answer, given the description...

  • Custom User Avatar

    Hey fizis - solutions honor comes from upvotes by other users on your kata solutions, it's 1 honor for each upvote.

  • Custom User Avatar

    @jhoffner: Well, we have the comment box, but one can simply close it, so there are still minor/major issue votes without any comment. Any plans on changing that yet?

  • Custom User Avatar

    But awesome that you did it still :P gz!

  • Default User Avatar

    That last test case took me forever to fix. I guess congratulations are in order ;-)

  • Custom User Avatar

    Hi,

    First of all I am very sorry for the late reply, I haven't been so active in here lately - but I'm starting coming back now.
    I have implemented all of your test cases (had to update my own solution as well :P) and I'll probably go ahead and add some more.
    Regarding brute forcing I have seen the solutions doing that, I will look into implementing some random test cases.

    Thanks for the feedback!

  • Custom User Avatar
  • Custom User Avatar

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

  • Default User Avatar

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

  • Default User Avatar

    Sorting based on concision or performance would be awesome. Upvoting your own solution is okay if the community can self-moderate (which for now could work). With laoris there would need to be creativity. Though I don't consider rectangular boxes of code as particularly creative, other people have different opinions.

  • Custom User Avatar

    I'm of two minds about this.

    The thing about Reddit is that everyone gets the upvote, so it has no real effect. Upvoting your own solution (and I have done it, I will admit) makes a difference because it makes your solution more visible than others. And there has been plenty of studies proving that people tend to "follow the herd" when it comes to adding to existing upvotes.

    Rather than allowing one to upvote their own solution, it might be nice to have the ability to either

    1. Auto-sort based on some criteria beyond random, or
    2. Provide sorting capability on character length, sloc, complexity, etc. Then someone could more easily find the solutions that interest them the most and provide upvotes.

    I prefer solution #2, myself.

  • Default User Avatar

    That sounds a bit trivial from my perspective. E.g. Reddit gives you an auto-upvote for your posts which you can change.

    Personally, I upvote my own kata only if I like my solution somewhat more than other solutions I've looked at.

    Some people might always upvote their solution, but I don't see how that would detract from others.

  • Default User Avatar

    I've solved the Javascript version of this kata. Cool to see that Ruby has proper integer division.

  • Custom User Avatar

    A lesson on history too :) Thank you. Codewars is awesome!

  • Default User Avatar

    Yeah, no major issue there... Maybe someone just didn't get the kata...

  • Loading more items...