Given a polynomial with integer coefficients, is there an elegant way to determine if the polynomial has negative coefficients with minimum number of queries about the value of the polynomial at certain values. The value of the derivative of the polynomial at certain values can also be queried.
The number of queries should at least be less than degree of the polynomial + 1 which can determine the complete polynomial.
A few rare cases may slip through but in general this seems pretty adequate