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.
Super, thanks!
JS, random test. When one of the arrays is empty. It should either be non-empty and contain 0, or indicate that sometimes the farmer may get sick and not come to count the sheep, in my humble opinion =). Thank you.
The task description states that the farmer counts sheep every Friday and Saturday. But during the test there are empty arrays, as if the farmer did not count these days, and if he counted, then there would be 0 in the array, not empty. It is necessary to indicate that the farmer can take a walk and not count the sheep on any day.