Given two sorted arrays `a` and `b`, implement `findMedianSortedArrays(a, b)` returning the median of the combined set. Aim for O(log(min(m, n))).
+ 2 hidden tests run on Submit.
Partition the two arrays so the combined left half has ⌈(m+n)/2⌉ elements. The partition is valid when the largest left element does not exceed the smallest right element on the opposite side. Binary searching the smaller array for that cut runs in O(log(min(m, n))).
Run your code to see results.