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.
really?
Best practice, seriously?
This comment is hidden because it contains spoiler information about the solution
Everything looks good however you are replacing "gravel" with "gravel" without a need.
Thank you for your comment. I think you're right, so i refactored my solution.
Guys, one trick) Default constructor StringBuilder() constructs a string builder with no characters in it and an initial capacity of 16 characters. When those 16 characters are filled, sb automatically increases it's size and copies the data into it. So, if possible, it's better to define the expected size of your StringBuilder with this constructor StringBuilder(int capacity). So your code will be more effective)
I never knew that class existed hmmm. Learnt something