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.
totally agree
It's just a bit of harmless flavour...
I, as most sane people would, read that as the only movement you can take each time you move is in one of the four cardinal directions. Stop trying to solve a problem by being pedantic
Thanks friend I'll give that a shot.
Read the english again carefully. I solved the problem. But the description doesnt make any sense. As written you could only go all the way north and hit a wall. All the way south and hit a wall. All the way east and hit a wall. Or all the way west and hit a wall. Those would be your only options. You couldnt change directions and for example, go east after you had started going south.
"you can only move in one of the four cardinal directions"
to go south then east would be to move in TWO of the cardinal directions.
Given the first python test case
we can reach the end following the path marked with
*
s.This comment is hidden because it contains spoiler information about the solution
This is so hard to understand.
Try to solve the A+B=B+A kata first. It explains all concepts which are required to solve this kata.
I have NO idea what I'm supposed to do for this problem. The description doesnt help at all. And why does it come with a bunch of code? Am I supposed to use that? Why does the description not even mention all of that commented out code?
This is great. This implements a lot of the ideas I had in my solution but does them in a much more logical place in the flow of the program. Makes it so easy to comprehend what is going on.
(concat . map) = concatMap
This comment is hidden because it contains spoiler information about the solution
Wow! I knew someone would come up with a short composed 1 liner but I couldnt even guess what it would look like.
this is clearly the better contender for best practices imo
Loading more items...