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.
Random tests always test powers of 10. There should be random tests with not-powers-of-ten. Or you could just refrain from input validation, in accordance with documented best practices.
Example solution is
O(log n)
and passes, which means description should specifyO(log n)
instead ofO(1)
. Logarithmic time is in practice indistinguishable from constant time anyway.