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.
Fixed translation here, need someone to approve.
Also edited the description from
40+ = back
to41-60 = back
and some edge tests in sample test, to make it more clear.40
expectedMiddle
is right, as the description says21-40 = middle, 40+ = back
.fixed
fixed for other languages
Because 0 was added as a test case.
fixed
fixed for remaining languages
Wouldn't this fail in a case where the unicode value was 2 or more bytes and the first or last byte happened to be the same?
Examples being:
First byte is 0xC3 for both, but they are different runes
Failing Test case example:
Could have a similar situation at the end, last bytes are equal but the runes are different
fixed
there is no longer such statement in the description
fixed
Approved fork, so this should be fixed.
Haskell fork that fixes the sort order to match the description.
Would it be maybe better to use a .expect("Array is empty") to handle that case for general use?
Added across all languages :-)
Loading more items...