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.
Challenge accepted!
(even-sized diamonds are totally possible)
The tests don't check for multi-char glyphs. This means that naive implementations (most, if not all submitted, including mine) would corrupt the strings with multi-char glyphs in them by reversing order of chars in them. Either add test cases for those or add the assumption that input strings are ASCII in instructions.
Do we need to reverse graphemes in the words or just the chars are fine?
Grapheme-based reversing would need an external crate to do properly in Rust. Is there a way to plug in dependencies here?