Question: in the c++ program Merge : is a process of combining two sorted array into a third sorted .. Write a program to implement the
Merge : is a process of combining two sorted array into a third sorted .. Write a program to implement the previous theory. Function : 1. void read int A[], int B[], int A_size, int B_size ). 2. void merge ( int A[], int B[], int C[], int A_size, int B_size, int C_size). implement: 1- by using a merge index. 2- by using pointer. Example: A B B 1 2 3 3 4 5 6 C 1 1 N 3 3 4 5 5 6
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
