Question: C++ You need to utilize the linkedList.h, unorderedLinkedList.h, and orderedLinkedList.h files attached here Be sure to modify Problem 5 and 6 will modify linkedList.h Problem

C++ You need to utilize the linkedList.h, unorderedLinkedList.h, and orderedLinkedList.h files attached here Be sure to modify

C++ You need to utilize the linkedList.h, unorderedLinkedList.h, and orderedLinkedList.h files attachedhere Be sure to modify Problem 5 and 6 will modify linkedList.hProblem 7 will modify orderedLinkedList.h Make sure to create one test program,

Problem 5 and 6 will modify linkedList.h Problem 7 will modify orderedLinkedList.h

Make sure to create one test program, call it main.cpp, and test your modifications. Don't forget to add linkedListType:: to the beginning of the instance variables first, last, and count in the subclasses unorderedLinkedListType and orderedLinkedListType before using the subclasses.

Upload the 3 files (linkedList.h - unorderedLinkedList.h - orderedLinkedList.h - and main.cpp) to complete this assignment.

5. (Dividing a linked list into two sublists of almost equal sizes) a. Add the operation divideMid to the class linkedListType as follows void divideMid (linkedListType &sublist); //This operation divides the given list into two sublists //of (almost) equal sizes. //Postcondition: first points to the first node and last points to the last node of the first sublist. sublist.first points to the first node and sublist.last points to the last node of the second sublist Consider the following statements: unorderedLinkedList myList; unorderedLinkedList

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!