1. Which methods would need to be altered if you wanted to keep the numbers in order from smallest to largest in the bag’s list? Would this allow some other methods to operate more efficiently?
2. Suppose you want to use a bag in which the elements are double numbers instead of integers. How would you do this?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here