Compute median of two sorted arrays | Rippling