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.
Your comment helped me, I wondered why it didn't work for 20 and came to read the comments to see if there was a problem with the test cases, but no it was my own code. Rounding errors on rows 11 and 15.
This comment is hidden because it contains spoiler information about the solution
I agree, it should specify whether it was sorted or not - I did it assuming the input array was unsorted.
This comment is hidden because it contains spoiler information about the solution
Thanks for this Kata, I don't remember seeing Karnaugh Maps before, so I learnt something new and useful! :)
One minor suggestion for the language:
"You have just finished to assemble the time-bomb"
should probably read:
"You have just finished assembling the time-bomb"
It should really be pascals_triangle rather than pascalsTriangle for Ruby style :)
This one certainly made me think. My first attempt failed on level 20 due to rounding errors, so I re-wrote it in a different way.