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
Great kata. Thanks for making it!
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.
Thanks for the feedback! This should be fixed now.
Thanks for catching that! Should be resolved now.
+1 on this. 1 is a power of 4. Unless you explicitly require the input to be a positive integer, one of the tests in the JS version needs to change.