Parse values from equation
Return values from an equation in an ArrayList :
3x^3 + 2x^2 + 5x = 34 returns [3,2,5,34]
3x^3 + x^2 + 5x = 19 returns [3, 1, 5,19]
3x^3 - 5x = 34 returns [3,5,34]

Answer

Answers are hidden from search engines.
language=java coding string math