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 solution contains a bug (strngely working though), i misread docs about construct argument 2 (it's array, but i passed it as scalar and surprisingly it passed the tests).
Kata description has an incorrect example (the third line).
PHP translation
Kotlin translation
TypeScript translation
JavaScript translation
Missing tests of the thin scenes (less then 11 chars) with a seagull in it (in the middle or partially outside on the both sides)
TypeScript translation
Kotlin translation (author gone)
TypeScript translation (author gone)
Found also these problems:
?>
tag is discouraged in PHP (used in Solution and Solution Setup)actual
andexpected
parameters, in PHPUnitexpected
comes first,actual
comes second.TypeScript translation
At least JavaScript:
Random tests do not ensure the rule stated in the description:
The original array will be not empty and will contain at least "number" even numbers.
Kotlin Translation
Oh, I forgot to remove the leftovers before publishing (used them to validate the tests for generating the correct input). Removed them from both JS and TS.
TypeScript translation (author inactive)
This comment is hidden because it contains spoiler information about the solution
Loading more items...