This program can be improved through reducing the adding/subtraction section of the code by utilizing the insert() function as it automatically sorts the polynomial and simplifies it.
Results that may be inaccessible to you are currently showing.
Hide inaccessible results