. (3 pts.) | |
By drawing a picture to illustrate with a couple
of concrete examples, show a reasonable and space-efficient way to
represent a polynomial.
|
|
A linked list, with each link containing the exponent and coefficient of each term. The list should contain only terms which have a non-zero coefficient. There should not be a sign term (the coefficients are signed). |
. | |
Name one practical drawback to using Java ints
("practical" here means related to applications that might
need to use integer values).
|
|
The largest possible Java int might be too small for some applications (value of the national debt in pennies, for example). |
. | |
From keeping up with the textbook reading, I know that a priority queue can be implemented effectively with a... |
|
. (1 free bonus pt.) | |
Choose all that apply: |
|