Pergunta de entrevista da empresa Bloomberg

Write down the implementation of Polynomial Class in c++, with all possible functions, constructors etc. (You need to accept something of the form 2x^12+5x^2+3 from the user)