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.
Needs random tests
Also, a duplicate.
Minor quibble with the phrase "the first number it returns should be the smallest number," as this isn't always what the test cases want. For example, if your test case produces two negative roots r1 < r2, the test expects r2 to precede r1 in the array. You may just need some more precise language here.