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.
Scala translation
This comment is hidden because it contains spoiler information about the solution
I suggest to increase the maximum degree of tested polynomials up to 30-40. Then it will be much harder to solve this kata with standard methods for solving linear equations. My solution without any special optimizations can handle degrees up to 50.