find the median of two sorted arrays, with bug

find the median of two sorted arrays, with bug