Median of Two Sorted Arrays at Amazon
Hard45.9% acceptance
This problem has 75.0% frequency at Amazon.
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 Amazon Questions
Two SumEasyTrapping Rain WaterHardBest Time to Buy and Sell StockEasyNumber of IslandsMediumContainer With Most WaterMedium
View all Amazon questions