Exercise 10.39 What kind of iterator does a list have? What about a vector? Solution A list should have a bidirectional iterator, and a vector should have a random-access iterator.