Median of Two Sorted Arrays at Microsoft
Hard45.9% acceptance
This problem has 75.0% frequency at Microsoft.
Problem Description
Given two sorted arrays `nums1` and `nums2` of size `m` and `n` respectively, return **the median** of the two sorted arrays. The overall run time complexity should be `O(log (m+n))`.
Read full problem and hintsTopics
Also asked at 46 companies
More Microsoft Questions
Two SumEasyContainer With Most WaterMediumLongest Common PrefixEasy3SumMediumRemove Duplicates from Sorted ArrayEasy
View all Microsoft questions