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.
This comment is hidden because it contains spoiler information about the solution
This is so simple and smart. I love it!
Why doesn't the title function capitalize the second chr?? I don't understand....
Clerver but completely unreadable.
This comment is hidden because it contains spoiler information about the solution
Nice work, but please don't change the function signature.
This will make more upper letters than needed, text='2lame' >>> 2Lame
This comment is hidden because it contains spoiler information about the solution
I feel like this is just too much for a list comprehension to be well readable.
The solution itself is fine.
From all solution I like this one the most. Clever and simple.
How is it handling empty string?
Yes, you are right!
I benchmarked this solution and your solution with
valgrind
, found:cargo build --release
generate_shape(50)
resolved
Wow, quite fast :) Thank you!
Loading more items...