leetcode median of two sorted arrays - 3 different approaches - take 2