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.
Just a remark to always benchmark your code to make this statement. As newer releases of .Net Core also Regex gets faster and faster.
So better stay maintainable and readable and let the performance guys do their work
References:
This comment is hidden because it contains spoiler information about the solution
discard "Skip(0)", it's a nop
Resizing input references is bad practice.
This will be not obvious to the caller and will lead to strange bugs. Hopefully it is documented somewhere.
Better create new array.
"phrase" is never changed so it is enough to just iterate over "phrase" instead of allocating extra memory for chars.
This comment is hidden because it contains spoiler information about the solution