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.
Description does not mention how to handle empty strings/strings with no hex characters.
(At least in Python this expects
0
to be returned).Description doesn't mention that we have to convert hexadecimal characters into decimals first.
The initial code in Ruby is broken.
The function name should be in snake_case in Python and Ruby.
No random tests.
Great Kata!
Just as a quick suggestion, you might want to add a capital letter in the example.
The description mentions capital letters as valid input, but never as valid hexidecimal characters so it wasn't immediately apparent to me that I should XOR them.