Question: Please using the c++ language to solve this question, thank you Given the same Node above, implement a recursive function that merges two sorted singly
Please using the c++ language to solve this question, thank you

Given the same Node above, implement a recursive function that merges two sorted singly linked lists into a single sorted linked list. The function should return the head of the new list. You may not create any new Nodes, this is known as an in-place merge. For example suppose we have two list: list2 And we call our merge function on these two lists: Node* newList - inPlaceMerge(list1, list2); The state of our program after that function call may look like: list1 newList list2 10 Node* inPlaceMerge(Node* list1, Node* list2) (
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
