Median of Two Sorted Arrays at Yandex
Hard45.9% acceptance
This problem has 50.0% frequency at Yandex.
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 Yandex Questions
Longest Subarray of 1's After Deleting One ElementMediumSummary RangesEasyFind K Closest ElementsMediumMaximize Distance to Closest PersonMediumTwo SumEasy
View all Yandex questions