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.
There's nothing in the example tests. Right now it only has the default sample test cases given by Codewars for Ruby.
Ruby translation
Reached 4000 honor with this kata! Very fun to solve IMO.
Ruby translation
Python translation
Python translation
Glad to hear! It's a very niche but enjoyable area in mathematics!
Approved.
Very fun to solve! Enjoyed it a lot!
Ughhh, I'm so stupid.
I had everything correct. All I needed to do was one small thing (that I 100% knew how to do) and it would have been fine. And I gave up right before figuring out the answer.
Very embarrasing since I managed to solve the 1-kyu Javascript version without too much trouble, although now that I understand what I needed to do, I do think that overall the kata was pretty good!
Wow, that is seriously impressive, you actually managed to shove it all in a lambda expression. Good job!
You're right, I should add a bit about that.
This is my first 1-kyu, it was pretty enjoyable to solve!
I'm currently at 3-kyu overall, and had decided to go for a 1-kyu as I have been recently only been solving kata in the range of 8-kyu to 5-kyu, and had wanted to challenge myself by solving either a 1-kyu or my third 2-kyu.
However, I personally think that this is more of a 2-kyu because aside from the algorithm implementation, I wouldn't say that the character limit is that much of an issue. In fact to me the character limit could be 3000-3500 chars and the kata's difficulty would probably still be about the same.
@user9644768 Why wouldn't
sum
be allowed? It's a similar method to what is done for C/C++.Forked and merged fix.
Loading more items...