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.
Anyways, this is a shortest path problem, which means this is a duplicate to many existing katas. For example, https://www.codewars.com/kata/57658bfa28ed87ecfa00058a
Mutating the input breaks the random tests: see this
Done
also change assertion messages as per this update.
Grid size for random tests has been decreased to 25*25. Runtime is now 1600ms.
I agree, I'll decrease the grid size right now
The test suite should not take a long time to run (currently it takes almost 9 seconds). Read more here
Just fixed that, thanks
The example from the description must be included as a fixed test in both basic and attempt tests.
Thanks a lot for finding this, just a weird mistake - you are not missing anything!
I must be missing something:
How do
8 steps to the right and 7 steps upwards
take 10 steps?Sorry about that, all fixed.
Random tests should not print things for the user, especially not printing the expected value before user solution is run.
Will change this tomorrow, you are definitely correct. I initially chose dictionary because I was considering adding more properties to the chicken and eggs.
Issue is resolved (:
Loading more items...