6 kyu

Simple Fun #278: Remove K

53 of 57myjinxin2015
Description
Loading description...
Puzzles
View
AllIssues1QuestionsSuggestions1Show Resolved
  • Please sign in or sign up to leave a comment.
  • saudiGuy Avatar

    JS testscases are full of unused material, it needs to be cleaned.

  • saudiGuy Avatar
  • daffodil11 Avatar

    Good kata! I'd like to suggest a small correction to the instructions. In the explanation of why 6 is not the correct answer, the number set contains 7. So, the section that reads:

    "Why the result isn't 6? Because: In set {1, 2, 3, 4, 5, 6, 7}, if we remove 2 elements (1,2), or (4,5) the rest elements can not find 2 elements sum up to 6."

    should probably read:

    "Why isn't the result 6? Because: In set {1, 2, 3, 4, 5, 6}, if we remove 2 elements (1,2), or (4,5) the remaining elements do not contain 2 elements that sum up to 6."

  • Voile Avatar

    I don't know why the answer ends up like that, but apparently it is :P

    I guess I might investigate on this a bit more later.