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 would add a test inside the for loop to test if after the replace the b is identical with previous iteration. And if identical return false. That means that nothing has changed and there is an issue in the strig, so fail fast is covered here.
Otherwise the for goes to braces.length/2 doing nothing.
It took me a while to figure that this is java 8. Nice for the ones who work with. But for the rest...