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.
I spent over two hours trying to convert the schedule to Date objects, succeeded, realised that i dont really need it and solved the actual problem in a minute. Awesome kata, 10/10, would do it again :D
in "Arguments" section:
change "candies: like this:" to "candies: packets of items, like this:"
in "How to let the children satisfied?" section:
add "4 - Packets cannot be divided, each child gets a full packet"
Thats should stop anyone from making the same mistatke we did. I had fun with this kata, thank you for making it :D
I misunderstood the description too, imho you should specify that each child can only get one full element of candies array.