The bearing of a child takes nine months, no matter how many women are assigned. Many software tasks have this characteristic because of the sequential nature of debugging. Fred Brooks

Median of two sorted array

Language Java | Level Intermediate | Category Data structure | September 9, 2015 10:18 am

Data structure Description

There are two sorted arrays A and B of size M and N respectively. Find the median of the two sorted arrays. Write a program to implement median of Two Sorted Arrays.



Items from Array 1: [5, 25, 100]
Items from Array 2: [5, 8, 10, 20]
Median of two arrays: 9



No comments available!

Please login to add comments.