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.
Very nice! My mind went to the more obvious iteration technique ><
WOOT!! I finally made a solution that's comparably fast! lol
this is insanely fast!! well done!
omg, I spent a ton of extra time on this because I was absent-mindedly, trying to divide a number down to ZERO... I was passing a surprising amount of test cases too lol
omg this was brutal! Learned a lot though!
You are given a collection with an even amount of elements. Using each element only once, create pairs of elements. Multiply the contents of each pair and then add their products together. Return the smallest SUM you can.
When glancing at the Test Cases, the first "element" is actually the answer for that case, that's why they all look like they have an odd amount of elements
I really wanted it to be, but as everyone already said, thia kata is not broken for c#. Just required knowledge I probably learned the first time I ever encountered parameters, lol
Lol, yeah I don't vote for kata as often as I should but this one is totally getting one!
Maybe it's just me, but if I am 30 years old and my child is 10 years old and someone asked, "In how many years will you be twice as old as your child?" My answer would be : 10
BUT if someone asked, "How old will you be when you are twice as old as your child?" My answer would be : 40