Ad
  • Default User Avatar

    Very nice! My mind went to the more obvious iteration technique ><

  • Default User Avatar

    WOOT!! I finally made a solution that's comparably fast! lol

  • Default User Avatar

    this is insanely fast!! well done!

  • Default User Avatar

    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

  • Default User Avatar

    omg this was brutal! Learned a lot though!

  • Default User Avatar

    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

  • Default User Avatar

    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

  • Default User Avatar

    Lol, yeah I don't vote for kata as often as I should but this one is totally getting one!

  • Default User Avatar

    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