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.
ok. im half as fast as the str_len solutions :(
would be even better if the percentage would be calculated only once. nice anyways.
+1 nice way of finding out the polarity
+1 returns when found
+1 returns when found
-1 unintuitive use of $x, several times
-1 complicated calculation of return condition