class Solution(object): def findMedianSortedArrays(self, nums1, nums2): """ :type nums1: List[int] :type nums2: List[int] :rtype: float """ length=len(nums1)+len(nums2) mid=0;tmp1=0;tmp2=0 mid=length//2+1 i=0;j=0 while mid>0: if i
本文共 378 字,大约阅读时间需要 1 分钟。
class Solution(object): def findMedianSortedArrays(self, nums1, nums2): """ :type nums1: List[int] :type nums2: List[int] :rtype: float """ length=len(nums1)+len(nums2) mid=0;tmp1=0;tmp2=0 mid=length//2+1 i=0;j=0 while mid>0: if i
转载于:https://www.cnblogs.com/xiaofanshao/p/10439825.html