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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Good one! Thanks for making it!
Very elegant and efficient but my one reservation is that it is not using strict declaration of variables. Is this sort of thing best practice?
You are right! max and min do not sort, as I erroneously thought. So finding min and max in one iteration is the way to go.
You have two sums of 14 there, and although they come about with different numbers, they are not unique by the definition of the kata writer.
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 exposes a weakness in the tests. The logic is actually incorrect as other commenters have noted.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
My mind is blown! If you have the chance can you please explain how this code works?
Great Kata! Grammar and spelling Nazi that I am, though, it should be "Farthest Distance" not "Furthest Distance" since we are referring to literal (mathematical), not figurative distance.
This comment is hidden because it contains spoiler information about the solution
I completed it for JavaScript.
Loading more items...