Section 8.2 describes the functions display List and replace. Their definitions are written in terms of the ADT list operations.
a. What is an advantage and a disadvantage of the way that display List and replace are implemented?
b. What is an advantage and a disadvantage of defining display List and replace as operations of the ADT list?