In software, we rarely have meaningful requirements. Even if we do, the only measure of success that matters is whether our solution solves the customerís shifting idea of what their problem is. Jeff Atwood

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.