Median of Two Sorted Arrays at Bloomberg
Hard45.9% acceptance
This problem has 75.0% frequency at Bloomberg.
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 Bloomberg Questions
Two SumEasyMerge IntervalsMediumBest Time to Buy and Sell StockEasyNumber of IslandsMediumInsert Delete GetRandom O(1)Medium
View all Bloomberg questions