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.
O(n^2) because the for comprehension generates a cartesian product of the numbers vector with itself (or more specifically in this case, the indices of the numbers vector)
You can do a lot of programming without math, but some things can be done much better if you know math. The math in this problem is about finding the roots of a polynomial. Its Algebra.