摘要: There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be O(log (m+n)).http://leetcode.com/onlinejudge#question_4复杂度没有达到要求的log(m+n) 而是O(m+n),就这还写了半天呢,妈蛋!class Solution{public: double findMedianSortedArrays... 阅读全文
posted @ 2013-06-03 11:36 丶Blank 阅读(163) 评论(0) 推荐(0) 编辑