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.
Well, for a code golf, it's in the 7kyu category
Maybe I'm just bad at golf (i am) but this felt significantly harder than a 7 kyu
A really interesting one that has me stumped at 78 bytes. Maybe I'll come back to it and see if I can figure it out.
genius
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
If you tried the original kata first you may have assumed that the beggars were meant to take the larger of the piles at the start and end of the array, but actually this kata intends you to make the beggars always take the leftmost pile. Hope this helps anyone else confused by the description.