Find the median of two sorted arrays in O(log(min(m,n))) time by binary searching the optimal partition index between them.