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.
Agreed
There is a need to more test cases. I highly recommand adding a test for this one:
[10, 12, 8,8, 12, 12,8, 6, 4, 10, 10]
Because your post is visible in the home page if you don't mark it as having spoiler content, and your comment pretty much contained the solution.
Actually, I'm a beginner here so don't know much about these flags (can you please tell me, why we need them)
@Steffan: dashboard is always acting weird with that. When you load it just after flagging, the comment is hidden, then for like 5-10minutes, it isn't anymore in the dashboard, than again.
Spoiler flag, please ^_^
EDIT: for some reason clicking spoiler doesn't make it disappear from the homepage??(edit2: workin' now)This comment is hidden because it contains spoiler information about the solution
I did it this way too, but felt kind of dumb after seeing the top solution and remembering that len doesn't need to be wrapped inside of another lambda function.