Problem 4 · Hard

Median of Two Sorted Arrays

Find median of two sorted arrays. Binary search on the smaller array’s partition point.

Open the interactive visualisation