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

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

  • πŸ‘‰πŸ˜ΊπŸ‘‰ Righteous! πŸ™Œ

  • Sorry about that.But when I made that comment, I'd no edit privilege. So, all I can do is say someone who has the same to do so.

  • Johan, can you cast your difficulty vote on the kata? hopefully this time it will be able to collect enough votes so the suggested rank will reflect the difficulty somewhat better.

    Or have you already?

  • (yeah, you're very well known for your pretty accurate rank estimations, right... XD )

    ;p

  • I used the voted Rank.

    Don't go by that for old katas, as you can see from my solution the problem is around 4 - 5 kyu.

    Fixed the error in a fork.

    Are they still in fork? I guess you might not have access the edit the test cases, how did you add the random tests?

  • Also, Node 0.10 was a version ..

  • Welcome to 2015, when Corona was a beer and rankings were what they were then. ( Also, when random tests were unheard of and example tests were optional. )

    Things change.

  • This is a 3 kyu atmost :/

    Other than the description is incomplete and badly written.

  • This is actually created by a friend of mine. He don't use CW so I helped him with the upload.

  • "Subarrays should be contiguous" is already in bold =)

  • I jsut confirmed and it turns out it's... not that simple :) Algorithm is somewhat complex and not trivial to explain. I can explain it to you on Gitter where it will be easier to chat, or you can wait until I put a proper explanation into docs (it's not there right now, and it may take me a while until I get it there :( ).

  • For a purple kata authored by you to be approvable, it needs:

    • have no pending issues,
    • collect at least 5 votes (can be difficult for purples!),
    • have >70% satisfaction rating

    I am not sure right now and I will confirm with others, but I think that to approve a kata, you either need "Approve Kata" privilege (6k Honor) and have it solved, or "Edit any kata" privilege (10k Honor). It did happen that kata got approved without being solved, mostly because of griefers, and it required some work to clean it up. So, not recommended :)

  • I remember someone approved katas without solving them, and it was a very bad thing to do and a lot of those were sent to beta again, because the tests were wrong or the katas being bad, duplicates, etc. So it seems possible, but not advisable. I see you authored 4 katas and they have 3 solutions each, two are already approvable. Note: the harder the kata and fewer solution it has, the harder to get it out of beta. Sometimes you have to get lucky, sometimes, you can ask in this Gitter channel: https://gitter.im/Codewars/codewars.com/kata-authoring-help

  • Loading more items...