Median of Two Sorted Arrays
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]
Examples
Create a free account to view this lesson.
Continue your learning journey with a 14-day free trial.
By signing up, you agree to Educative's Terms of Service and Privacy Policy