Question: 3) (40 pts) This problem deals with the Array and Linked List implementations of the Unsorted List (AUList and LLUList). Your solution must begin with

3) (40 pts)

This problem deals with the Array and Linked List implementations of the Unsorted List (AUList and LLUList). Your solution must begin with the base code available via Blackboard (AUList.h, AUList.cpp, LLUList.h, LLUList.cpp).

a. Create a function for the AUList structure AUList copyReverse() which creates a new AUList with identical elements, but in reverse order. Ex: if myList is an AUList with elements in the order 1, 4, 2, 8, 6, myList.copyReverse() will return an AUList with elements in the order 6, 8, 2, 4, 1. b. Create the function from part a. but for the LLUList structure (it should return a LLUList with elements in reverse order). While not required, it is highly advised that you test your functions prior to submitting them. Code that fails to compile will receive little credit. Responses to Problems #1-2 should be in .doc(x) or .pdf format. Include this and your modified code for #3 (two .h and two .cpp files) in a zip file. Please submit your assignment to Blackboard as a zip file with the filename LN_FN_1.zip where LN is your last name and FN is your first name.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!