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.
Don't think it's a good practice to write some implementation in class declaration ( that is in a header file normally ).
I don't really understand why there is null values through the given array, it's like we need to handle exceptions that are supposed to be handled in the upper level where the given array is built.
Wouldn't it be a good thing to handle the 'F' case in first as it has 60% of chance to come in order to increase performance of code ?