## Median of Two Sorted Array ( log n ) Approach

Median of Sorted Array Given two sorted array A and B both of same size. Find Median of Combined Sorted Array. A: [10,11,12,18,20] B: [2,5,8,15,19] Combined Sorted Array: [2 5 8 10 11 12 15 18 19 20] Median: (11 + 12)/2 = 11 (Integer Division) Approach O( n ) is straight forward approach, we… Read More »