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 see, thank you.
If "System.Linq" counts as an external library then so does "System" or no?
I mean how does part of the Standard Library count as external? For me external represents Nuget packages.
a good next logical step, however originally the refactoring rules included
Do not use any external libraries
Cool!
The point of solving the issue was making it as short as possible.
Therefore, using the arrow function and removing the brakets were neccary.
It's clever, but not best practice at all :)
This comment is hidden because it contains spoiler information about the solution
Feedback: I would put in a concise summary at the very beginning. It took me a moment to understand the scope.
There isn't any mention of what should be returned if the input string is empty. Will this not happen in this kata? If so, maybe mention that.
Should the quotes preserve leading or trailing whitespaces inside them? Or is that an edgecase that won't exist?
This looks like a fun challenge!
I do think it is awesome you went out of your way to remove the brackets just to make this more clever and shorter. Well done!
In this case he had to remove the given brackets so this actually took longer, but very clever!
This comment is hidden because it contains spoiler information about the solution
you can split and select all on one variable. I like your use of sort versus max and min. Nice!