1. Which of the ADTs—the bag or the sequence—must be implemented by storing the elements in an array? (Hint: We are not beyond asking a trick question.)
2. Suppose you implement the polynomial class using an array called coef. What values will be stored in coef for the polynomial 0.3x3+ 0.5x2– 0.9x1+ 1.0?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here