Ad
  • Custom User Avatar

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

  • Default User Avatar

    This was awesome. I had my head banging thinking I need to use a lookaround or something, didn't realise all you need are groups

  • Default User Avatar

    I love your regex formatting though... must remember to comment it so well in this \n formatting.

  • Default User Avatar

    Will your solution work for all domains in existence? Or is it just to pass the tests in this Kata?

  • Custom User Avatar

    I think it depends a lot on the methods you are familiar with.
    A few weeks ago I found this really hard, then learned a new method and completed it in few minutes.

  • Custom User Avatar

    Good question! I think it's because it introduces the re.VERBOSE flag (to some) and because it's a relatively old solution (>3 years). I agree with you that it has too many problems to be best practice.

    Just found another problem in addition to those below: . isn't escaped in the patterns, so wwwzexamplezcom will pass. Oops.

  • Custom User Avatar

    Leaderboard position*100/Honor percentile
    Roughly 220k

  • Custom User Avatar

    In your profile you can find something like:

    Honor Percentile: Top 0.083%

    Percentile means how many % of users have higher score than you.

    But:

    • it's calculated with regard to Honor Points and not kyu/dan rank, and
    • it takes total Honor into account, including points for solved kata, points for authoring efforts (kata, translations), comment and solution upvotes, etc. which is IMO kinda pointless.

    There are also leaderboards but you need to get to top 500 to appear there.

  • Custom User Avatar

    Kyu/Dan rank is not calculated from honor points. Kyu rank is calculated from internal score earned only by solving kata. Highest technically possible rank is 8 dan, but there's simply not enouh kata to reach it at the moment.
    Some details on dan ranks can be found on CW github forum.

  • Default User Avatar

    Maybe it's an easter egg because there are no codewarriors having reached that score yet ;-)

    I have analyzed the score requirements and it seems to roughly follow a 11.7 * exp(n) law.
    So 3-dan should require approximately 260,000 score.
    There are only two 2-dan codewarriors currently and they're far from that treshold, with 120,000 and 160,000 respectively.

  • Default User Avatar

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

  • Default User Avatar

    I agree. As a beginner to codewars, I have found some 6th or 7th kyu katas much harder. Though maybe they were just covering uses of python that I haven't been exposed to before.

  • Custom User Avatar

    What do you mean? Was it too easy or too hard?

  • Custom User Avatar

    People can ge weird. Some solutions have gotten voted "clever" because of how ugly and convoluted the solution is.

  • Custom User Avatar

    Short answer, no.

    As the wiki says, each 8 kyu gives 2 internal points towards your rank. At the time of my reply, there are about 470 8 kyus on the site. That means that doing all the 8 kyus will give you about 940 points.

    This is far from enough; you can only reach 4 kyu (643 needed). 3 kyu needs 1829 points.

  • Loading more items...