Write a recursive function in C++ that creates a copy of anarray of linked lists.
Assuming:
struct node
{
int data;
node * next;
};
class arrayList
public:
arrayList();
~arrayList();
private:
node ** head;
int size; //(this can equal 10)
}
Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!
(Save $1 )
One time Pay
(Save $5 )
Billed Monthly
*First month only
You can see the logs in the Dashboard.