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.
Epic solution... surprisingly pretty readable for how many conditionals are in this problem vs the length of this solution
Nice one.. This one seems tricky to get down to a concise amount of code. Mine was a bit too long to be readable, although it is a very straightforward solution. Yours does basically the same thing but is quite concise, so it's good to learn from. Sometimes it's really hard to read the super short solutions especially on problems like this
I'd agree.. It's not a "simple string reversal"... which would be 7-kyu worthy. The task at hand here easily bumps it up 2-3 levels of difficulty
This is along the lines of what I was trying to do. I gave up because I was wasting too much time and couldn't quite get it. But this is exactly what I was trying to do. And this is very straightforward and readable.
This solution looks very fancy but is completely unreadable in my opinion. I can't make a lick of sense of it. I'd love to learn something from it but I'm having a very hard time understanding what's going on.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This kata is way too difficult to be ranked at 7kyu in my opinion. This is pretty much a discrete math problem, not a coding one
This solution is the same basic idea as mine, but a much cleaner refactor. This is what I struggle with -- coming up with the cleanest looking solution. My logic is there, but getting it down to a solution that looks really concise is quite challenging. It's helpful to see this!