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.
thank you for pointing out. It would've been much easier if the didn't insist 'Maybe' type.
The Ruby tests allow it, I did a really silly solution as I was in such a mood and I was surprised it passed. I even calculated the even and odds individually which makes no sense obviously.
A pure brute force algorithm won't be able to pass the tests. Try to study a math pattern in the triangle to speed up your code.
The ranking of 8kyu is for the whole kata. It is not possible to rank it harder for a single language.
I agree, this Kata seems far too difficult for an 8kyu problem.
Nope. Proof shown below using simultaneous equations.
Your proposed answer:
The initial code has been setup incorrectly, I fixed it by slightly modifying the initial code. Change "module animals where" to "module Animals where" and tell me if it works.