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.
This comment is hidden because it contains spoiler information about the solution
0 is not a multiple of 0. You can't divide by 0.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
It's not O(n^2) ya doofus. It's O(n * k), where n is number of splits, and k is the select (or vice versa). It's still very time complex, but it doesn't grow by the number of splits squared.
This doesn't always work because of rounding errors, but the issue has existed for 7+ years, so I don't think the fact it doesn't always work due to a rounding error can be fixed.
Does this work on a walk where you walk straight east for five minutes, then straight west back?