leetcode

4. Median of Two Sorted Arrays

Iterative Solution

Time complexity: O(n + m)

Space complexity: O(n + m)