Back to Question

Median of Two Sorted Arrays

Question Explain

Given two sorted arrays `nums1` and `nums2` of size $m$ and $n$, return the median of the two sorted arrays. Aim for $O(\log(m+n))$ complexity.

Start Trying This Question Simulation

Click "Start Speaking" and answer the question naturally.