Suppose you'd like to add two polynomials:
, and
.
Their sum has degree
:
Implement the function plus specified in
Polynomial.h. You need
to check that none of your coefficients fall outside
![]()
INT_MAX, specified in <limits.h> (in which case
you should return {NULL, OVERFLOW}). For a
polynomial of degree
, your function should have complexity
.