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.
It is very concise, but at least I have to think harder to verify correctness. I'd like to optimize for readability with minimal congnitive load. I can imagine people that could parse this this without any cognitive load... probably the author. :)
Wow! Brilliant.
Very nice.
Brilliant. Great example of several C# feature at once.
We don't need dsa for this.
.map is just a transformation function.
Sometimes the descriptions can be overworded or underworded. Information theory and the beginning of words is a very cool subject to research if you can. If you see kata with bad descriptions, you can leave a suggestion in the discussion section to help improve the understanding of the goal for other Code Warriors.
made me realize this kata is overworded
Hehe calculus programming ^-^
Using Math.min with .map is an extra loop instead of just using .reduce
Very nice solution. Loved it. I think we need to know DSA for this right?
Thanks @o2001!
Thanks for your clarification!
Curious why you spread the input since it's a string and you could just split it right?
Or, like me, you wherent sure the input is a string or array (question wasn't too clear on that)?
This comment is hidden because it contains spoiler information about the solution
it's good
Loading more items...