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.
Yes happened to me also in a similar test case. (Java)
Thanks for sharing the idea, never thought about doing bit arithmetic could help to get rid of that ugly
-i -1
and the branch. :-)What language was that?
EDIT: I found out it is in the Java translation. Unfortunately, I have no power to fix it :( I will try to get someone on it.
For me, this is a huge wtf xD
This is not grandma's average Java code ...
Nice effort dude !
Hi Robin479,
Regarding your first observation you are right, there might be cases that a sentence starts with a space. As of your second observation there is no point writing code for every kind of possibility, I don't think that this is the purpose of this kata. If we wanted to deepen the problem we could write a compiler from scratch! Either way thank you for your comment.