leetcode
4. Median of Two Sorted Arrays
Iterative Solution
Python code
Time complexity: O(n + m)
Space complexity: O(n + m)