在LeetCode论坛上找到参考链接

http://leetcode.com/2011/03/median-of-two-sorted-arrays.html