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.
That's clever for sure!
This comment is hidden because it contains spoiler information about the solution
Thank you for your answer! Do you have any tips for exploring the rust manual?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Huh---that doesn't work on my clang at home.
This comment is hidden because it contains spoiler information about the solution
It would be nice if the kata were explicit about whether being "in order" was case-sensitive, whether it applied to non-alpha characters, etc. I'm still not sure what the original intent of the kata is.
Much more tenuously, it might be nice to use a better type than a string as the return value in languages where that makes sense---in C++, something like
enum class ordering { in_order, in_reverse_order, not_in_order }
.