Polynomial Arithmetic

1. In a linked-list representation of a polynomial, which information is normally stored in each term node?
Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

2. In a linked-list representation, how is the constant term 77 represented as a coefficient-exponent pair?
Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

3. When adding two polynomial linked lists, what should be done when the current terms have the same exponent?
Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

4. Suppose a polynomial is represented by nodes ordered by decreasing exponent. Which node should be encountered first for 5x3+2x+15x^3 + 2x + 1?
Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

5. If two polynomial linked lists contain mm and nn terms respectively and both are traversed once to perform addition, what is the time complexity?
Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

6. During polynomial addition, the current exponents are 44 and 22. What should the algorithm do when the lists are maintained in decreasing exponent order?
Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

7. What is the main advantage of using a linked list for a sparse polynomial?
Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

8. If two terms 3x43x^4 and 5x45x^4 are encountered while adding two polynomial linked lists, what term should be placed in the result?
Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

9. If a polynomial has mm terms and another polynomial has nn terms, what is the worst-case number of nodes that an addition algorithm may need to process?
Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation