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.
In description says return the smaller number if 2 numbers are same distance from
n
, but right now asking for the one appear first.Duplicate?
Let me edit the description to make it clearer, also I will put some hints.
The main difference between this 2 Kata is that going back to the beginning point or not
For this one, you can save 1 step in certain situation, because you can end at anywhere.
Ending at one of the particular points will save you 1 step. But these points might not always exist, so you will see it has 1 less in some cases, but not all.
Forgot about this, now user will be given a copy of grid, should be fixed.
Thank you for your work, but my knowledge about Haskell is so poor, I don't have confident to approve it...
Should be fixed now, sorry for my poor English
Done, also it is part of the Kata's name, should be obvious enough
Updated the description again, let me know if it is clear enough.
Updated the description, please let me know if I need to change something to make it more clear.
Any recommended way to make it more clear?
Updated and add more tests, let me know if there is still some bug.
It's almost 1 and half years ago, let me recall what I was thinking...
Thank you for the translation
Oh, see the way you did it, its the same. My bad.
Loading more items...