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 )Java translation
Should work as intendet, if it is OK it can be approved.
Unicode symbols are not guaranteed to render in the browser, and IMO there's no point in using them instead of simple headers and ordered/unordered lists.
Could you please explain
why
T9("eeee",["dear"])
should return["dear"]
,but
T9("eeeee",["dear"])
should return[]
?The random tests are not reliable. This solution is incorrect but it can pass the random tests.
Define "miswritten".
Duplicate =/
You need more than 20 random tests.
You also need to test longer strings. A length of 2 isn't enough.
Every string starts with an empty string, don't you think? You should specify this case in the description.
Also, may be a duplicate (but I haven't bothered to search)