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.
Only way to get an O(1) solution, I think.
I'm not sure how this isn't transparent, though it does suffer for using the log function twice instead of just once. This is basically just writing down one mathematical expression that answers the question. It's only not transparent if you don't understand what a log is.
This comment is hidden because it contains spoiler information about the solution
It is my first translate kata. It's OK?
Isn't it too clever? I think that isn't best practices, because it isn't transparent.