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.
I like your sorting function. Agreed about the
-Infinity
. I guess I assumed positive numbers - I should have written a comment!Thanks for the feedback!
I'd like to vote 'Best Practices' for the great commenting, but the
eval
vetoes it unfortunately.NovaDenizen - You beauty!
As I believe has been noted, the supplied tests use the wrong function name.
It might be useful to link to a short article on matrix multiplication (such as http://www.mathsisfun.com/algebra/matrix-multiplying.html) for those who aren't familiar with the concept.
This comment is hidden because it contains spoiler information about the solution
Haskell test cases are broken, as reported by @pcapriotti.
Timing out for me too on Haskell.
Agreed, I'd deliberately made name and type immutable out of habit. The error message claimed that toString was returning the wrong result, took a while to work out why!