Question: Merge Sort Given three sorted arrays A , B & C of sizes N , M , & P respectively. Write a program to merge
Merge Sort
Given three sorted arrays & of sizes & respectively. Write a
program to merge the three sorted arrays in to a single array that must be in
increasing order.
Input Format:
The first line contains an integer size of
The second line contains space separated integers for array
The third line contains an integer size of
The fourth line contains space separated integers for array B
The fifth line contains an integer size of
The sixth line contains space separated integers for array
Output Format:
Return an array that is the result of three sorted arrays in cpp
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
