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.
Reference solution is incorrect:
Delivering every package without counting package loading time takes 26 minutes. It then should take only 2 loads to deliver all packages (
6 / 2 = 3
), not 3, so the expected time should be26 + 2 * 2 = 30
, not 32.(Loading time is independent of direction, otherwise the fixed tests will not match)
C#: method name should be
PascalCase
(Please refer to implementation of backward compatibility here )A sensitive topic that should be avoided..
now do it in O(n) time with O(1) extra space
gotcha.
...because that would have been an incorrect formula.
This comment is hidden because it contains spoiler information about the solution
Java translation
Should work as intendet, if it is OK it can be approved.
Thats the most interesting kata so far. Liked it so much.
Thanks for for such a pandepic kata! There are so many ways it can be solved - I learned a lot.
Thank you for this kata! Nice mind puzzle:)
Works great! Thanks :)
Thanks, I added some more test cases. Does that work for you?
This comment is hidden because it contains spoiler information about the solution
Okay. Hopefully, I corrected the failure with the latest republishing :-)
Loading more items...