Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
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
I love your regex formatting though... must remember to comment it so well in this \n formatting.
Will your solution work for all domains in existence? Or is it just to pass the tests in this Kata?
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.
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, sowwwzexamplezcom
will pass. Oops.Leaderboard position
*100
/Honor percentile
Roughly 220k
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:
There are also leaderboards but you need to get to top 500 to appear there.
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.
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.
This comment is hidden because it contains spoiler information about the solution
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.
What do you mean? Was it too easy or too hard?
People can ge weird. Some solutions have gotten voted "clever" because of how ugly and convoluted the solution is.
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...