List Coefficients
Sometimes it is useful to pull the coefficients out of an equation as well as the result. For this puzzle you should return an ArrayList of the coefficients and the equated value from an equation passed in as a string.
ex. "3x^3 + 2x^2 + 5x = 34" would return the values [3,2,5,34]
"3x^3 + x^2 + 5x = 19" would return the values [3,1,5,19]
*(notice the 1 when no coefficient is present.)
"3x^3 - 5x = 10" would return the values [3,-5,10]

Answer

Answers are hidden from search engines.
coding strings