Median of Two Arrays #2543

Problem

Leetcode problem description for Median of Two Arrays #2543

View on Leetcode

Approach

Use efficient algorithm and data structures.

Time: O(n), Space: O(1)

Code

def solve():
    print('Solving problem 2543')