1 min readMar 16, 2020

[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)
N2I -2020.03.15


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