Beta
Tiny Tony's Magic Beard
12Jwhiles
Loading description...
Fundamentals
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.
Missing edge case tests with
speed == 0 && desiredLength == 0
: https://www.codewars.com/kata/reviews/57b99f05a09e1c192d00008e/groups/5e2b1e715c9ce60001a18e7cSome solution pass all fixed tests and sometimes pass all random tests: https://www.codewars.com/kata/reviews/57b99f05a09e1c192d00008e/groups/5e2b1af7a778610001f7ddc3
Least number of days should be main priority. I also intended for each shaving to add a day to the overall time. I will revise the description to make this clearer :)
This sentence makes me feel that the best choice is not to shave the beard. Because
Tony hates shaving.
Definitely, the best choice is not to shave at all, since, least days and least shaves conditions are conflicting.
I intended the low number of shaves to be the a secondary condition, as I said.
'If there are multiple possible routes, please return the one with the least shaving required. Tony hates shaving.'
I'll the description to make this clearer! THanks for the feedback.