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.
I think, there should be test like that one:
[1].sameStructureAs([[1]]) // false
It's possible to pass a solution that doesn't cover such conditions.
There is no formula here. I just noticed a ratio between values and used that.
The solution can't overcome a time limit without an index. Therefore, an index is not useless here.
Less than 7 seconds for all tests.