-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deduplicate - sum of digits #145
Comments
Kata 1., 2., and 3., all ask for a digital root. Kata 2. requires a bit of preprocessing, and kata 3. makes O(1) solutions tricky. Still, I am not sure if we need all of them, I would be fine with keeping only 1. I am not sure if kata 5. is a duplicate of 1., because the task is slightly different. Maybe on this level of difficulty it might be worth keeping? Kata 6. is yet another bug fixing kata with discardable initial code and no real need for debugging. If it were retired in favor of 5., it has three unique languages to move. I have no strong opinion here: I don;t like bugfix kata which do not require debugging, but I can see how they can be interesting for some users. |
Keep 1, 5. Retire the rest due to annoying input validation or solutions that can be directly retrieved (with a minor tweak, if any) from 1 or 5. |
Keep 1 and 5 |
Keep 1. Retire 2,3,4 agree with ejini. I vote retire 5 - it's just 1 with abs() added, unless this is particularly interesting/challenging in other languages? I personally like the 7-8 kyu debug katas like 6; sure you can discard the initial code but it's the kind of thing I'd like to solve when starting a new language. Also, if you solve it the "noob way" and it you then read about "smart way" in the solutions, I think that's a nice learning experience and it gets people engaged with the site. |
note that 5 also requires only 1 application of the summing process (99 -> 18 and stops there), while 1 requires continuing until the result has a length of 1. Not that that makes it interesting or necessarily worth keeping. keep 1, idk about 5, retire the others |
Since there are recurring opinions to keep 5., I think it's good to keep together with 1. |
Originally reported on #39
Conclusion
Filling gaps
The text was updated successfully, but these errors were encountered: