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.
This is actually an issue :-)
Randoms test cases added.
Reraised above with more detail
seems fixed
Off-by-one errors have claimed millions of lives. 😅
Just because you changed the title to include the word Format doesn't mean anything is clear. You should update the description to explain what you're looking for.
Ok, your suggestions and observations always welcome. I'll be checking them one by one.
I agree with your suggestion to add a test case for k = 0.
@raulbc777
Since 0 is not a positive integer and is not a valid value of k for the purpose of this kata anyway, < should be revised to ≤:
"If the second entry is not a positive integer (k < 0),..." <- change to "k ≤ 0"
This comment is hidden because it contains spoiler information about the solution
RRRDRULD
Indeed I falled into the same trap. Time inputs are allowed which do not make any sense like: 26:87
I suggest to add a test case, so that it can be recognized from the beginning that this one leads to a "True" result.
I guess that's one of the "bugs" you are expected to fix
If it hasn't been fixed after a year, it ain't going to be fixed.
Closing.
Added
Loading more items...