Ad
  • Custom User Avatar
  • Custom User Avatar

    It might be easier to read when you have pages of code with many different functions.

  • Custom User Avatar

    nice radix conversion from int to string

    counting matches of '1' is simple, and could easily scale to higher radixes such as octal
    could easily be extended to match multiple digits, such as .count('137')

    range traversal is clear

    accumulator function sum() over a list is also a nice aggregate function

  • Custom User Avatar

    One more Prime numbers kata!

  • Custom User Avatar

    this should be at least 7kyu but not 8kyu

  • Custom User Avatar
  • Custom User Avatar

    I disagree with you, that's not the only way to solve this kata. And some solutions don't need "obscure" formulas at all.

  • Custom User Avatar

    Math Tag = Google obscure formula. Copy/ paste. Minimal code requried.

  • Custom User Avatar

    Please, tell me what did you think it was the kata was asking instead.

    Still waiting for your answer so I can understand what needs to be clarified. And no, I'm not going to give away the answer in the kata's description. It's not a complex problem, as it is, it's perfectly solvable using a few built-ins if you know your math or you can go with an iterative solution. If you don't like math katas, you can always skip them, nobody forces you to do them.

    Most complains about description don't explain what they wrongly thought, so it's hard to understand their problem with it.

    Knowing what to do and how to do it are two different things. There are some katas that teach you something from scratch and some that test what you already know. This one is one of the latter.

  • Custom User Avatar

    @TheChampionofValor This is a warning, do not abuse the report system any further, and stop threatening people.

  • Custom User Avatar

    You tried to bully and harass with your rank, the tone/styling of your comment, while appearing to be innocent on the surface to anyone who didn't read the full conversation. There are many intelligent people who are wise to the way you hide your crimes and understand every aspect of your psychological warfare. Cease and Desist or I will continue with LEGAL ACTIONS to the proper authorities.

  • Custom User Avatar

    Look at TenC comment here. It demotivated him so much, he didn't make it past 8 kyu. This is why it's so important. The next comment is by a 3 kyu programmer, who additionally expressed much time was wasted.

  • Custom User Avatar

    wow, I just tried to share, and now I have a sad :(

  • Custom User Avatar

    That was only after the moderators recently updated it from the initial comment I left at the start of this thread. The comment you are responding to clearly stated to *read the comments of discussion, and not the description that has been recently changed.

    I've reported all three of you for gaming the system, providing false feedback to smear my comment, and for continuing harassment.

    I'm not sure what you don't understand about user feedback in the comments section. *You clearly didn't learn too well in primary school.

    Maybe after a nice reprimand from these comments I left, you will finally understand your website is not perfect and needs a lot of changes to improve user experience. Hopefully you will read and understand the comment from the user as well, indicating that the discourse comments are more telling than any bias feedback from abusive moderators who have overstepped their authority.

  • Custom User Avatar

    I just re-read the description, and for sure the author absolutely described exactly what they were looking for, and in a succinct and clear way.

  • Loading more items...