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 was quite a satisfying problem to work on.
The trailing spaces once was a bit of an issue since it's not clearly visible...had to keep highliting the text to check them.
The trick is to write down the number of '*' and ' ' in a given line wrt to 'n' on a piece of paper to see an emerging pattern.
This is quite educational