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.
It should be mentioned in the description that you may need to include the same zero multiple times in the result. I assume the task was just to find rational zeros, without caring for their multiplicities.
Just getting started, but I did not see a mention of what degree the polynomials would be. I assume only deg <= 2 by the test cases?
Added random tests with more complicated rational roots and a more complex multiplicity test (the random tests also include examples with complex multiplicities)
1/7
, or something like50/1001
)[0,0,1]
)