AC edition of "Median of Two Sorted Arrays"