[LeetCode][python3]0004. Median of Two Sorted Arrays

Start the journey
N2I -2020.03.15

  1. My first solution
class Solution:
def findMedianSortedArrays(self, nums1: List[int], nums2: List[int]) -> float:
return median(nums1+nums2)


Obviously, this quiz is not for python3. Other language like Java can done this in 2ms. But we are taking advantage in the convenience of python3 this time.

N2I -2020.03.15

HI I’m N2I. Now a Computer Science and Engineering Student of NCHU in Taiwan. Check out more about me in https://nzi2020.blogspot.com/