Cody

Problem 1068. Guess the Coefficients!

Given a polynomial p known to have positive integer coefficients, deduce the values of the coefficients.

For example:

    p = @(x) x^2 + 2*x + 15;
    c = guess_the_coefficients(p);

outputs

    c = [1 2 15]

Solution Stats

50.63% Correct | 49.37% Incorrect
Last Solution submitted on Mar 23, 2020

Solution Comments