Question: Need ASAP (18pts) Given a pointer to a singly linked list write a routine which will create 2 new lists, in addition to the original.

 Need ASAP (18pts) Given a pointer to a singly linked list

Need ASAP

(18pts) Given a pointer to a singly linked list write a routine which will create 2 new lists, in addition to the original. The 1st new list should contain every 3rdh node from the original list while the 2nd new list should contain every 4th node (the node following the one you put on the first new list). When you are finished you will have 3 separate singly linked lists

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!