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.
Nobody in practice actually uses information entropy as described by the description or by what the kata asks us to calculate.
What information entropy are usually used for is:
What is being calculated instead is:
(You can easily verify this by checking what
x
actually means: it's noteach character
, it'seach possible state
. Therefore all possible states being calculated in the kata is all the possible indices of the string, aka you're picking a random character from the string.)So the entire description is misleading at best at the moment.
I run into a timeout with 123456790, while all other tests are passed.
Any suggestions?