6 kyu
Simple Fun #278: Remove K
53 of 57myjinxin2015
Loading description...
Puzzles
View
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Spoiler
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Keep the comment unlabeled if none of the below applies.
-
Issue
Use the issue label when reporting problems with the kata.
Be sure to explain the problem clearly and include the steps to reproduce. -
Suggestion
Use the suggestion label if you have feedback on how this kata can be improved.
-
Question
Use the question label if you have questions and/or need help solving the kata.
Don't forget to mention the language you're using, and mark as having spoiler if you include your solution.
-
No Label
- Cancel
Commenting is not allowed on this discussion
You cannot view this solution
There is no solution to show
Please sign in or sign up to leave a comment.
JS testscases are full of unused material, it needs to be cleaned.
python translation
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."
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.