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.
IMO there should be another 2 or 3 digit number in the examples. You can very easily get a pattern that works beautifully with the displayed cases, but then falls apart on the attempt. Took me a minute, but this was a really fun problem.
The rank of a kata is set according to the votes of the ones who solved in when it was in beta. Then it cannot be changed. Old katas tend to be overranked, it's rather the contrary on newer ones. Moreover, consider kyus are shared across languages and there may be great variation of difficulty between them. Many discourse pages are full of comments saying the kata should be one kyu above or below. They are useless.
Should this be a 6kyu? I feel like it was a 7 or 8.
Nah I struggled about 2 hours with this. But I solved other 4 kyu katas in 5 minutes. Sometimes its easier, individual thing.
I agree. It's probably a 5.
Maybe it could be a 5. I really struggle on 4s and I had to think about this. But basically it doesn't require much knowledge, you just need to understand the logic that has to be applied.
Older katas tend to be easier.
I've been struggling with this one all day, can't figure out a good algorithm to get it working. I think 4 kyu is about right. Certainly not 6.
Idk you are definitely getting better cause i struggled big time with this. But mainly because I went through so many different solutions, wasting time and stuff; the trick here was i expected everything to be sorted.
In the end, pulled out the good ol' sort algorithms, and finished it in 30mins. I should say my solutions are always super unique to everyone elses.
This comment is hidden because it contains spoiler information about the solution
I love how you took this functional programming problem and turned it into a Data problem. It really is more efficient than any other way when you think about it
I'm not sure this is an efficient solution, the problem is that you are iterating through potentially the entire list twice. Lets say 90% of a million user list uses JavaScript, but only 10% of those are from Europe. You will iterate through 900K people twice with each filter. Or instead you could add an && statement there and knock it all out in one go.