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.
Difficult for a 6 kyu, enjoyable thx.
yo, pls warn people about that last random test and the varying lengths of the array
Yeah, me neither. Beta testers mostly goes with their intuition based on previous kata experience (don't get me wrong, their curation is not very wrong either. Sometimes kata's rank can be a coin flip). I think this is because codewars docs for kata ranks is a little bit outdated and there's no new explicit details/explanation for kata rank curation currently. I do wish for an update of the explanation. But I don't think it's gonna land soon, imo.
I really don't understand anymore the reference scale for ranking kata's.
Approved at 5kyu.
Assigned ranks were:
Added an example at the bottom of details. Btw your solution is awesome :o
You should specify whether something like "rd" or "ul" combination counts as collision or not (it doesn't).
Awesome kata, had to keep reading the rules cause one of the cases was tripping me up. If I had to give any advice for people failing cases it would be to reread the valid line rules.
i have been studying coding for 20 days now.
what do you think about the logic?
function contact(hallway) {
let TwoPeopleDistance;
TwoPeopleDistance = hallway.slice(hallway.indexOf(">")+1,hallway.indexOf("<")-1)
return Math.min(TwoPeopleDistance.length)
}
the code is totally wrong.
This one really broke my mind for a bit, great kata.
approved by someone
Java Translation
Tests should be correct. Double check your code or what you read.
Then maybe the wrong condition for passing the test is specified in random tests? I ran random tests 10 times and each time I saw the expected test value that does not match the value that I would get from the string.
You are correct, in this case we see "><" so the answer should be 1.
Loading more items...