Question: Use C program write a function( Node *merge_sorted_lists(Node *list 1, Node *list2) ) The output will looks like: You can optionally create the merge_sorted_lists function
Use C program write a function( Node *merge_sorted_lists(Node *list 1, Node *list2) )



The output will looks like:

You can optionally create the merge_sorted_lists function too for up to 10 bonus marks. This function should accept two sorted lists as input (sorted from lowest to highest values). The function should return a pointer to a list that has been created by merging and connecting the nodes in the two lists to form a new list that is also sorted from lowest to highest. The new list should contain all of the nodes that are in both lists, what should be different is how the nodes point to each other in order to form one merged list. #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
