Ad
  • Default User Avatar

    saved

  • Default User Avatar

    I think it's better now. Thanks.

  • Custom User Avatar

    Great, classic kata here.

    I suggest you space out the example cases in the description to allow for greater readability. For me, it appeared as one long string with no spaces. How about line breaks between each example, like this?


    Examples:
    n = 0 -> 2^0 -> [1]
    n = 1 -> 2^0, 2^1 -> [1,2]
    n = 2 -> 2^0, 2^1, 2^2 -> [1,2,4]

  • Custom User Avatar

    It does -- my solution uses that convention. Perhaps there is something else wrong with what you tried?

  • Custom User Avatar

    Bravo, tell that pesky migrant of Pete how to properly use our nice language!

    And not just to pretend being inappropriate as he likes to do often!

    [:p]

  • Custom User Avatar

    This was a great kata, and while my naive solution worked, I learned about a better approach afterward (isn't that always the way?).

    There are a couple of typos in the description of this kata that I thought I'd point out:

    In this line, "In order to prove it's success..." there should be no apostrophe in the word "its," as it is used to indicate possession, as opposed to the contraction "it's," which stands for "it is."

    Also, in the second line, "You must check within string (s) to fid all of the mating pairs..." the word "find" is misspelled as "fid."

    Best,
    -K

  • Custom User Avatar

    you can create a suggestion on the kata itself.

  • Custom User Avatar

    yes there is already a process but you need 1500 honor before you can edit a kata. If you see an issue or have a suggestion start a discourse on the Kata.

  • Custom User Avatar

    Is there a process by which users can help contribute to the quality of a given kata by correcting spelling and grammar mistakes?

    There are many kata that are excellently crafted, save for word usage that does not conform to standard English patterns. It would be quite beneficial -- especially for new programmers -- to spell these out as clearly as possible, to avoid confusion.