Problem Statement

Given two sorted arrays nums1 and nums2, return the median of the two sorted arrays.

The overall run time complexity should be:

O(log(min(N,M)))

Enter fullscreen mode