5 kyu
Movie Agent
183 of 185jlordiales
Loading description...
Scheduling
Algorithms
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.
One random test is insufficient
mocha + chai
should be enabled.
The description needs to include that the number of movies is limited, as with a large number of movies this is NP complete and a good solution would be much outside the bounds of a kata :)
I have updated the test cases to add some radomness but that seemed to have invalidated all previous solutions (except mine :P).
I'm checking to see if there's something wrong with the tests or with the solutions.
I missed a line on the test cases. Now only some solutions are invalid, which are probably missing some edge case
I think that random test cases is not the best idea. It seems that some of the solutions willl be invalid. Because they will pass first test case.
this kata need random tests for eliminate lazy solutions laike ssineriz.
No idea whether my solution should pass or not.
The test cases are pretty deterministic so if your solution doesn't pass there's probably some case you're not considering.
It passes, just don't know whether it actually should.