Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Node 18. (
mocha + chai
) should be enabledTests are vulnerable to input modification
Missing such test cases for rest times between 16-29 minutes and 31-44 minutes, which will invalidate my solution.
[["8:00-10:00","Drive"],
["10:00-10:20","Rest"],
["10:20-12:20","Drive"],
["12:20-12:55","Rest"],
["12:55-15:00","Drive"]
];
(expected true)
This comment is hidden because it contains spoiler information about the solution
python new test framework is required. updated in this fork
It was too difficult, and solution wasn't obvious, but I solve it.
i stopped at 100.000 ants
Hi! I can't solve this problem if ants>18_000. What should I do? What should I know or read to solve it?
I enjoyed that this problem required some thought and optimisation.
approved by someone
Julia translation
approved by someone
And why would that be so hard to just add the 3 tests currently in
fixed_test_cases
to the sample tests?I'll never understand your opinion on this.
Blind and I very much disagree, and this issue seems to me to come down to a design decision.
If having limited example tests was lack of knowledge just which edge cases to include tests for, instead of a design decision, by all means add more. The reaction here seems to indicate willingness to do so.
I maintain having limited example tests would be a valid design decision, but it would have to be made explicitly.
that's definitely no excuse. the current setup is just exactly equivalent to no tests at all. And no tests at all is an issue.
Loading more items...