Question: c++ Doubly Linked List I need help implementing the following function. I can't view the prebuilt functions in list, but I need to write a
c++ Doubly Linked List
I need help implementing the following function. I can't view the prebuilt functions in list, but I need to write a recursive function that will duplicate the list. Can someone help me figure this out? Thank you!!!



File supplied.o contains code that can build, display, and destroy a doubly lineked list. For this lab, you will need to write the following two functions in dlist.cpp, and add function prototypes for them to dlist.h. Your solutions need to be recursive. void duplicate (node *& newHead) const recursively create a copy of the sburce list with head. newhead is the head of the destination list. #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
