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.
not exactly best practices, but definitely really clever :-)
Clever, did the same thing myself only I didn't notice the kata didn't distinguise between lower and upper case characters so I did a ternary check for it. Really should've read the kata more carefully. 👍
My solution has five lines and still fast :P
Check my solution guys. Twice faster and have no cheats.
It should be mentioned in description that interpretor cells are unsigned
Yes, that test seems valid.
Sorry. My bad. How about that?
$this->revTest(playPass("Z", 130), "Z");
"z"
is not a capital letter.Please, add following test to Test Cases. There are a lot of fake solutions.
$this->revTest(playPass("z", 35), "I");
This comment is hidden because it contains spoiler information about the solution
"Don't mutate the inputs" condition has not been met