Try to solve the Median of Two Sorted Arrays problem.
We'll cover the following
Statement
You’re given two sorted integer arrays, nums1
and nums2
, of size and , respectively. Your task is to return the median of the two sorted arrays.
The overall run time complexity should be .
Constraints:
-
nums1.length
-
nums2.length
-
-
-
-
nums1[i]
,nums2[i]