\problemdata
{S00 ps4.5}
{state machine}

\begin{problem}
Consider an ``abstract object'' that maintains a dynamic polynomial $\ms{poly}$.
This polynomial has variable $x$, and integer coefficients.
Initially, the polynomial is just the $0$ polynomial (no terms).
The polynomial supports operations:
\begin{itemize}
\item $\mathrm{add-term}(c,e)$, which is supposed to add the term $c x^e$ to the
maintained polynomial.
\item $\mathrm{coeff}(e)$, which asks for the coefficient of the $x^e$ term.
\end{itemize}

\solution{

Solution to this problem will be given out next week. The material covered in this problem 
will not be covered on the quiz.

}

\end{problem}

