InterviewSolution
Saved Bookmarks
| 1. |
These questions are based on the given data. A polynomial can be represented in an equivalent sequence form. The polynomial p_(1)x^(k_(1))+p_(2)x^(k_(2))+p_(3)x^(k_(3))+...p_(n)x^(k_(n)) where k_(1) gt k_(2) gt k_(3)... Gt k_(n) and a_(1) ne 0" for "1leilen will be represented as the sequence (p_(1), k_(1), p_(2), k_(2), p_(3), k_(3)....p_(n), k_(n)) Also, we add, subtract, multiply as we do for corresponding polynomials. The resulting polynomial is again represented as sequence. (6, 5, 7, 4, 8, 3)-(3, 5, 5, 3, 7, 1) equals |
|
Answer» `(3, 5, 2, 2, 1, 2)` |
|