Question: A. Create an overload of the insert method that appends the items of one list to another. void List ::insert( const List & list );
A. Create an overload of the insert method that appends the items of one list to another.
void List
B. Create an overloaded method on the List class that sorts the items in the list. The first overload, sort(), sorts the items in ascending order; the second, sorts them in the order specified by a comparator function, e.g., in descending order.
void List
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
