Beta
Exact 2D Collision Point
Loading description...
Physics
Mathematics
Geometry
Games
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.
So apparently this kata is a duplicate of https://www.codewars.com/kata/5a0511b8697598c8c9000069, despite looking completely different.
Something should be done about this.
Looks like you are correct. Could we just wait and see if either even get approved? Mine seems to be closer, but has gone stale. So it may be a non-issue.
Yeah, I'm mostly just raising this issue to point this out. It'll need to be eventually resolved in some way.
Both are different special cases of the same underlying general problem.
So maybe make a kata for the general problem? (which is basically the same as this, but also allowing for the circles to have different radii (indluding 0))
So, are we to leave this as an issue or let it play itself out?
The other kata looks to have been abandoned, so go ahead with yours.
The kata has tight performance requirement but it is not specified: for example, there are 100000 random tests, but it was not even hinted anywhere.
(Also,
performance
tag should be added)My solution takes about 5s, so I didn't consider it to be tight, but I have added the number of random tests to the description in 2 locations. I have also added the performance tag.
Marked as resolved.
Well, 100000 is still abnormal; normally there would only be like 100 random tests. With 100 random tests there are other kinds of solutions that'd pass the tests, so clearly this is done to enforce a particular kind of solution.
This comment has been hidden.