6 kyu
Will The DVD Logo Hit The Corner? - Efficiency Version
34 of 44KyleMeyers
Loading description...
Algorithms
Performance
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.
C# translation approved, let me know any issues
JS Translation
dir
is shadowing a built-in.please approve JS translation (see above) before changing kata description and resolving this suggestion
I have tried but got the message :
Oh yeah, this message was meant for the author. Other users can only approve after a courtesy period has passed. Thanks for checking.
I went ahead and approved the translation and implemented your suggested changes, in order to avoid merge conflicts later on.
The tag "dynamic programming" does not seem to be relevant here.
It is not really clear from description if a point already starts in a corner, whether this counts as a "hit".
Fixed
You should mention the DVD in the kata differs from the one in the initial animation, in that it is actually a point without width and height.
Added
The images in the description are not loading because hotlinking is disabled for the domain. Please use another image uploader.
Fixed
I suggest you rid of this:
Hey! I'm very new to this, how do I set it up to expect an error? Or should I remove edge cases?
Edge cases, whatever they are for this problem, are good to be tested.
Invalid inputs are not exactly "edge cases". Whether you want to test such inputs is up to you, but usually requirement of handling invalid inputs makes tests, and kata themselves, more messy. If invalid inputs do not bring into the solution naything more interesting than one or two ifs, they are usually considered an unnecessary nuisance.
Got it, changed so all inputs are valid
I'm a bit confused now, the two example boards you drew (both of them are invisible from the kata description btw) have a board size of (12, 8) instead of (13, 9), is this intentional? 🤔
Fixed
Don't forget to modify
Example Tests
as well. :)And the two pictures are really small ;)