update leetcode solution, Median of Two Sorted Arrays