Compute median of two sorted arrays | Rippling Interview Question