Question: hi i am learning c++ about the linked list (single or doubling list) please help me with these questions thank you very much. please don't
hi i am learning c++ about the linked list (single or doubling list) please help me with these questions thank you very much. please don't use For loop in these questions
PARAMETER: Another list
1.Given a non-empty parameter object, copy one or more elements of the calling object into the parameter object at a specified position.
2.Given an empty parameter object, copy in reverse some or all elements of the calling object into the parameter object.
3.Given a non-empty parameter object, copy in reverse some or all elements of the calling object into the parameter object at a specified position.
4. Given an empty calling object, copy one or more elements of the parameter object into the calling object.
5. Given a non-empty calling object, copy one or more elements of the parameter object into the calling object at a specified position.
6. Given an empty calling object, copy in reverse some or all elements of the parameter object into the calling object.
7. Given a non-empty calling object, copy in reverse some or all elements of the parameter object into the calling object at a specified position.
8. Given a non-empty calling object and a non-empty parameter object, append (add to the end) one or more elements of the calling object to the end of the parameter object.
9. Given a non-empty calling object and a non-empty parameter object, append (add to the end) one or more elements of the parameter object to the end of the calling object.
10.Swap calling object and parameter object. Think how to implement this one efficiently without any loops.
11.Compare the elements of the calling object and the parameter object and return true if they are the same (make sure to first check if the number of elements is the same, because there is no need to start a loop if the number of elements differs).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
