Determine the degree of a polynomial
Husk, 8 6 bytes
←VE¡Ẋ-

Try it online!
-2 bytes from Leo.
Explanation
←VE¡Ẋ- Input: list of P(x)
   ¡Ẋ- repeatedly take deltas and put in infinite list
 V     First index where
  E    all elements are equal
←      decrement