Write Java Programs Solve Following Problem 10 Points Given Three Sorted Arrays Write Meth Q37072062

Write Java programs to solve the following problem (10points)

Given three sorted arrays, write a method to merge these arraysand return the merged sorted array.

Input format

The first line of the input is the size of the first array N.The next line contains N integers, elements of the first array. Thethird line contains M, the size of the second array followed by Mintegers in the next line. The fifth line contains P, the size ofthe third array followed by P integers in the next line.

Output format

The main method will print the merged sorted array.

Sample input

4
23 29 31 37
5
4 9 16 25 36
4
8

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.