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.
If A -> B and later that B-> T so what will be if we have some B's in our dna ?
These B's will be replace too so it's not good option in my opinion.
looks very nice but that's 6 runs through the string...
as for me one of the best solution!!!
This solution is too slow anyway (if we are talking about performance) to bother about such minor optimization at all.
not really, i have almost similar benchmarks
Use of char constants instead of String constants will make this solution faster.